From 43e16f1516863ae4bb04e9fcd258248feab6cb1d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 14 Apr 2015 18:27:21 +0000 Subject: [PATCH] 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 --- ietf/templates/doc/search/search_result_row.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ietf/templates/doc/search/search_result_row.html b/ietf/templates/doc/search/search_result_row.html index 62874e3cb..b8835e119 100644 --- a/ietf/templates/doc/search/search_result_row.html +++ b/ietf/templates/doc/search/search_result_row.html @@ -29,10 +29,6 @@ {% if doc.has_errata %} Errata {% endif %} - - {% if doc.pages %} -
{{doc.pages}} page{{ doc.pages|pluralize }} - {% endif %}

{% if user|has_role:"Secretariat" and doc.reschedule_form %} @@ -56,6 +52,10 @@ {% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %} Expires soon {% endif %} + + {% if doc.pages %} +
{{doc.pages}} page{{ doc.pages|pluralize }} + {% endif %} {% include "doc/search/status_columns.html" %} @@ -73,7 +73,7 @@ {% if doc.ad %}

{{ doc.ad|default:"" }}

{% endif %} - {% if doc.shepherd %}{{doc.shepherd|default:""}}{% endif %} + {% if doc.shepherd %}{{doc.shepherd|emailwrap|default:""}}{% endif %} {% else %}