Skip to content

Commit 43e16f1

Browse files
committed
Introduced a couple of changes to the document list row format to make rows take up less vertical space: Moved the page count in under the date, so it won't add vertical space, and made shepherd email addresses break across lines if needed, instead of squashing the column widths of the other columns.
- Legacy-Id: 9494
1 parent cd14d95 commit 43e16f1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ietf/templates/doc/search/search_result_row.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
{% if doc.has_errata %}
3030
<a class="label label-danger" href="//www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">Errata</a>
3131
{% endif %}
32-
33-
{% if doc.pages %}
34-
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
35-
{% endif %}
3632
</p>
3733

3834
{% if user|has_role:"Secretariat" and doc.reschedule_form %}
@@ -56,6 +52,10 @@
5652
{% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %}
5753
<wbr><span class="label label-warning">Expires soon</span>
5854
{% endif %}
55+
56+
{% if doc.pages %}
57+
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
58+
{% endif %}
5959
</td>
6060

6161
{% include "doc/search/status_columns.html" %}
@@ -73,7 +73,7 @@
7373
{% if doc.ad %}
7474
<p>{{ doc.ad|default:"" }}</p>
7575
{% endif %}
76-
{% if doc.shepherd %}<small class="text-muted">{{doc.shepherd|default:""}}</small>{% endif %}
76+
{% if doc.shepherd %}<small class="text-muted">{{doc.shepherd|emailwrap|default:""}}</small>{% endif %}
7777
</td>
7878
{% else %}
7979
<td></td>

0 commit comments

Comments
 (0)