Skip to content

Commit 1795609

Browse files
committed
Some more cosmetic tweaks.
- Legacy-Id: 19914
1 parent 67ebade commit 1795609

8 files changed

Lines changed: 302 additions & 157 deletions

ietf/templates/doc/document_bofreq.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<table class="table table-sm table-borderless">
1717
<tbody class="meta border-top">
1818
<tr>
19-
<th>Document</th>
20-
<th>Type</th>
19+
<th class="col-1">Document</th>
20+
<th class="col-2">Type</th>
2121
<td class="edit"></td>
22-
<td>
22+
<td class="col-9">
2323
{{ doc.get_state.slug|capfirst }} BOF request
2424
{% if snapshot %}<span class="badge bg-warning">Snapshot</span>{% endif %}
2525
</td>
@@ -78,7 +78,7 @@
7878
</tr>
7979
<tr id="responsible">
8080
<td></td>
81-
<th>Responsible Leadership</th>
81+
<th>Responsible leadership</th>
8282
<td class="edit">
8383
{% if not snapshot %}
8484
{% if can_manage %}
@@ -96,7 +96,7 @@
9696
{% if resources or editor_can_manage or can_manage %}
9797
<tr>
9898
<td></td>
99-
<th>Additional Resources</th>
99+
<th>Additional resources</th>
100100
<td class="edit">
101101
{% if editor_can_manage or can_manage %}
102102
<a class="btn btn-primary btn-sm"

ietf/templates/doc/document_charter.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747
<table class="table table-sm table-borderless">
4848
<tbody class="meta border-top">
4949
<tr>
50-
<th>Document</th>
51-
<th>
50+
<th class="col-1">Document</th>
51+
<th class="col-2">
5252
{% if doc.get_state_slug != "approved" %}
5353
Proposed charter
5454
{% else %}
5555
Charter
5656
{% endif %}
5757
</th>
5858
<td class="edit"></td>
59-
<th>
59+
<th class="col-9">
6060
{{ group.name }} {{ group.type.name }}
6161
<a href="{{ group.about_url }}">({{ group.acronym }})</a>
6262
{% if snapshot %}<span class="badge bg-warning">Snapshot</span>{% endif %}
@@ -126,7 +126,7 @@
126126
<th>
127127
</th>
128128
<th>
129-
Charter Edit AD
129+
Charter edit AD
130130
</th>
131131
<td class="edit">
132132
{% if can_manage %}

ietf/templates/doc/document_conflict_review.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
<table class="table table-sm table-borderless mb-3">
1818
<tbody class="meta border-top">
1919
<tr>
20-
<th>Document</th>
21-
<th>
20+
<th class="col-1">Document</th>
21+
<th class="col-2">
2222
{% if doc.get_state_slug not in approved_states %}
2323
Proposed conflict review
2424
{% else %}
2525
Conflict review
2626
{% endif %}
2727
</th>
2828
<td class="edit"></td>
29-
<td>
29+
<td class="col-9">
3030
<a href="{% url "ietf.doc.views_doc.document_main" name=conflictdoc.canonical_name %}">
3131
{% if conflictdoc.get_state_slug == 'rfc' %}
3232
{{ conflictdoc.canonical_name|upper }}

ietf/templates/doc/document_draft.html

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -436,19 +436,6 @@
436436
(None)
437437
</span>
438438
{% endif %}
439-
{% if milestones %}
440-
<br>
441-
<span class="text-muted">
442-
<span class="milestone">
443-
WG milestone{{ milestones|pluralize }}:
444-
</span>
445-
{% for m in milestones %}
446-
<span title="{{ m.desc }} ({{ m.group.acronym }} milestone)"
447-
class="milestone">
448-
{{ m.due|date:"M Y" }} - {{ m.desc }}</span>{% if not forloop.last %},{% endif %}
449-
{% endfor %}
450-
</span>
451-
{% endif %}
452439
{% if stream_tags %}
453440
<div class="stream-tags">
454441
{% for tag in stream_tags %}
@@ -471,6 +458,27 @@
471458
</td>
472459
{% endif %}
473460
</tr>
461+
{% if milestones %}
462+
<tr>
463+
<th></th>
464+
<th>
465+
Associated
466+
{% if doc.stream_id == 'ietf' %}
467+
WG
468+
{% else %}
469+
{{ doc.stream }}
470+
{% endif %} milestone{{ milestones|pluralize }}</th>
471+
<td class="edit"></td>
472+
<td>
473+
<dl class="row">
474+
{% for m in milestones %}
475+
<dt class="col-sm-2 my-0">{{ m.due|date:"M Y" }}</dt>
476+
<dd class="col-sm-10 my-0">{{ m.desc }}</dd>
477+
{% endfor %}
478+
</dl>
479+
</td>
480+
</tr>
481+
{% endif %}
474482
{% if consensus and not doc.stream_id == 'ietf' %}
475483
<tr>
476484
<th>

ietf/templates/doc/document_material.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<table class="table table-sm table-borderless">
1616
<tbody class="meta border-top">
1717
<tr>
18-
<th>
18+
<th class="col-2">
1919
{% if doc.meeting_related %}Meeting{% endif %}
2020
{{ doc.type.name }}
2121
</th>
2222
<td></td>
23-
<td>
23+
<td class="col-10">
2424
{% if doc.group %}
2525
{{ doc.group.name }}
2626
<a href="{{ doc.group.about_url }}">({{ doc.group.acronym }})</a>

ietf/templates/doc/document_status_change.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<table class="table table-sm table-borderless">
1818
<tbody class="meta border-top">
1919
<tr>
20-
<th>Document</th>
21-
<th>
20+
<th class="col-1">Document</th>
21+
<th class="col-2">
2222
{% if doc.get_state_slug not in approved_states %}
2323
Proposed status change
2424
{% else %}
@@ -33,7 +33,7 @@
3333
</a>
3434
{% endif %}
3535
</td>
36-
<th>
36+
<th class="col-9">
3737
{{ doc.title }}
3838
{% if snapshot %}<span class="badge bg-warning">Snapshot</span>{% endif %}
3939
</th>

ietf/templates/group/group_about.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
<table class="my-3 table table-sm table-borderless">
1515
<tbody class="meta border-top">
1616
<tr>
17-
<th>{{ group.type.name }}</th>
18-
<th>Name</th>
17+
<th class="col-2">{{ group.type.name }}</th>
18+
<th class="col-3">Name</th>
1919
<td class="edit">
2020
{% if can_edit_group %}
2121
<a class="btn btn-primary btn-sm"
2222
href="{% url 'ietf.group.views.edit' acronym=group.acronym field='name' %}">Edit</a>
2323
{% endif %}
2424
</td>
25-
<th>{{ group.name }}</th>
25+
<th class="col-7">{{ group.name }}</th>
2626
</tr>
2727
<tr>
2828
<td></td>

0 commit comments

Comments
 (0)