Skip to content

Commit a507b31

Browse files
committed
More nits fixed.
- Legacy-Id: 19903
1 parent 53089a9 commit a507b31

33 files changed

Lines changed: 87 additions & 175 deletions

ietf/doc/tests_review.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,12 @@ def test_review_request(self):
173173
r = self.client.get(url)
174174
self.assertContains(r, review_req.team.acronym)
175175
self.assertContains(r, review_req.team.name)
176-
self.assertContains(r, author.name)
176+
try:
177+
# FIXME-LARS
178+
self.assertContains(r, author.name)
179+
except:
180+
print(r.content)
181+
self.assertContains(r, author.name)
177182

178183
url = urlreverse('ietf.doc.views_review.review_request_forced_login', kwargs={ "name": doc.name, "request_id": review_req.pk })
179184
r = self.client.get(url)

ietf/templates/api/index.html

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ <h2 id="framework">Framework API</h2>
4242
</ul>
4343
<p>
4444
The API top endpoint is at
45-
<a href="https://datatracker.ietf.org/api/v1/">https://datatracker.ietf.org/api/v1/</a>
46-
. The top
45+
<a href="https://datatracker.ietf.org/api/v1/">https://datatracker.ietf.org/api/v1/</a>.
46+
The top
4747
endpoint lists inferior endpoints, and thus permits some autodiscovery,
4848
but there's really no substitute for looking at the actual ORM model classes.
4949
Comparing a class in <code>models.py</code> with the equivalent endpoint may give
@@ -66,8 +66,7 @@ <h2 id="framework">Framework API</h2>
6666
<h3 id="framework-documents">Framework API: Documents</h3>
6767
<p>
6868
Documents are listed at
69-
<a href="https://datatracker.ietf.org/api/v1/doc/document/">/api/v1/doc/document/</a>
70-
.
69+
<a href="https://datatracker.ietf.org/api/v1/doc/document/">/api/v1/doc/document/</a>.
7170
</p>
7271
<p>
7372
In general, individual database objects are represented in the API with a path
@@ -156,13 +155,11 @@ <h2 id="simplified-documents">Simplified Documents API</h2>
156155
<code>{% url 'ietf.doc.views_doc.document_json' name='draft-ietf-poised95-std-proc-3' %}</code>
157156
<a href="{% url 'ietf.doc.views_doc.document_json' name='draft-ietf-poised95-std-proc-3' %}">
158157
<span class="bi bi-box-arrow-up-right"></span>
159-
</a>
160-
.
158+
</a>.
161159
You can also specify an RFC: <code>{% url 'ietf.doc.views_doc.document_json' name='rfc2026' %}</code>
162160
<a href="{% url 'ietf.doc.views_doc.document_json' name='rfc2026' %}">
163161
<span class="bi bi-box-arrow-up-right"></span>
164-
</a>
165-
.
162+
</a>.
166163
No API key is needed to access this.
167164
</p>
168165
<p>
@@ -253,8 +250,8 @@ <h2 id="session-video-url-api">Set Session Video URL</h2>
253250
<h2 id="openid-connect">OpenID Connect</h2>
254251
<p>
255252
The datatracker supports
256-
<a href="https://openid.net/connect/">OpenID Connect</a>
257-
, but
253+
<a href="https://openid.net/connect/">OpenID Connect</a>,
254+
but
258255
not dynamic registration. The OpenID Connect Issuer is
259256
<code> {{ settings.IDTRACKER_BASE_URL }}{% url 'ietf.api.urls.oidc_issuer' %} </code>
260257
</p>
@@ -277,8 +274,7 @@ <h2 id="personal-api-keys">
277274
<code>{% url 'ietf.doc.views_ballot.api_set_position' %}</code>
278275
<a href="#iesg-position-api">
279276
above
280-
</a>
281-
.
277+
</a>.
282278
Personal API keys are available from your
283279
<a href="{% url 'ietf.ietfauth.views.apikey_index' %}">
284280
Account API Keys
@@ -316,8 +312,8 @@ <h2 id="signing-keys">
316312
<a href="https://datatracker.ietf.org/doc/html/rfc7515">
317313
RFC
318314
7515: JSON Web Signature (JWS)
319-
</a>
320-
, using a public/private keypair with
315+
</a>,
316+
using a public/private keypair with
321317
this public key:
322318
</p>
323319
<p>

ietf/templates/community/manage_list.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ <h1>Manage {{ clist.long_name }}</h1>
1616
{% bootstrap_messages %}
1717
<p>
1818
The list currently tracks
19-
<a href="{{ clist.get_absolute_url }}">{{ total_count }} document{{ total_count|pluralize }}</a>
20-
.
19+
<a href="{{ clist.get_absolute_url }}">{{ total_count }} document{{ total_count|pluralize }}</a>.
2120
</p>
2221
<p>
2322
<a class="btn btn-primary" href="{{ clist.get_absolute_url }}">Back to list</a>
@@ -61,8 +60,7 @@ <h2>Individual documents</h2>
6160
Conveniently track individual documents in your personal list with the track icon
6261
<span class="bi bi-bookmark"></span>
6362
in
64-
<a href="/doc/search/">search results</a>
65-
.
63+
<a href="/doc/search/">search results</a>.
6664
</p>
6765
<p>
6866
You can also add documents here:

ietf/templates/community/subscription.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ <h2>Existing subscriptions</h2>
3535
<h2>Add new subscription</h2>
3636
<p class="text-muted">
3737
The email addresses you can choose between are those registered in
38-
<a href="{% url "ietf.ietfauth.views.profile" %}">your profile</a>
39-
.
38+
<a href="{% url "ietf.ietfauth.views.profile" %}">your profile</a>.
4039
</p>
4140
{% if form.fields.email.queryset %}
4241
<form method="post">

ietf/templates/doc/bofreq/new_bofreq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1>Start a new BOF Request</h1>
1010
Choose a short descriptive title for your request. Take time to choose a good initial title - it will be used to make the filename for your request's content. The title can be changed later, but the filename will not change.
1111
</p>
1212
<p>
13-
For example, a request with a title of "A new important bit" will be saved as "bofreq-a-new-important-bit-00.md".
13+
For example, a request with a title of "A new important bit" will be saved as <code>bofreq-a-new-important-bit-00.md</code>.
1414
</p>
1515
<form class="upload-content form-horizontal"
1616
method="post"

ietf/templates/doc/change_shepherd.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ <h1>
1515
</h1>
1616
<p>
1717
The shepherd needs to have a Datatracker account. A new account can be
18-
<a href="{% url "ietf.ietfauth.views.create_account" %}">created here</a>
19-
.
18+
<a href="{% url "ietf.ietfauth.views.create_account" %}">created here</a>.
2019
</p>
2120
<form enctype="multipart/form-data" method="post">
2221
{% csrf_token %}

ietf/templates/doc/charter/submit.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ <h1>Charter submission</h1>
2828
{% if group.parent and group.parent.type_id == "area" %}
2929
<th>{{ group.parent.type.name }}</th>
3030
<td>
31-
{{ group.parent.name }} (
32-
<a href="{{ group.parent.about_url }}">{{ group.parent.acronym }}</a>
33-
)
31+
{{ group.parent.name }} (<a href="{{ group.parent.about_url }}">{{ group.parent.acronym }}</a>)
3432
</td>
3533
{% else %}
3634
<th></th>

ietf/templates/doc/document_material.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
<td class="edit"></td>
6666
<td>
6767
{% for t, url in other_types %}
68-
<a href="{{ url }}">{{ t }}</a>
69-
{% if not forloop.last %},{% endif %}
68+
<a href="{{ url }}">{{ t }}</a>{% if not forloop.last %},{% endif %}
7069
{% endfor %}
7170
</td>
7271
</tr>
@@ -130,8 +129,7 @@
130129
{% else %}
131130
Not available as plain text.
132131
{% if other_types %}
133-
<a href="{{ other_types.0.1 }}">Download as {{ other_types.0.0.upper }}</a>
134-
.
132+
<a href="{{ other_types.0.1 }}">Download as {{ other_types.0.0.upper }}</a>.
135133
{% endif %}
136134
{% endif %}
137135
</div>

ietf/templates/doc/draft/request_publication.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ <h1>
1515
Send a publication request to the RFC Editor for {{ doc }} and move it to the <i>{{ next_state.name }}</i> stream state.
1616
Please edit the message and remove any parts in brackets you do not
1717
fill in. For independent submissions, see the
18-
<a href="https://www.rfc-editor.org/indsubs.html">guidelines</a>
19-
.
18+
<a href="https://www.rfc-editor.org/indsubs.html">guidelines</a>.
2019
</p>
2120
{% if not doc.intended_std_level %}
2221
<p class="alert alert-warning my-3">

ietf/templates/doc/frontpage.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ <h1>Datatracker</h1>
2929
</p>
3030
<p>
3131
The primary public face of the IETF is at
32-
<a href="https://www.ietf.org/">www.ietf.org</a>
33-
.
32+
<a href="https://www.ietf.org/">www.ietf.org</a>.
3433
</p>
3534
</div>
3635
<div class="p-5">

0 commit comments

Comments
 (0)