diff --git a/ietf/templates/doc/search/search_result_row.html b/ietf/templates/doc/search/search_result_row.html index 0800312a9..4c5d2ea96 100644 --- a/ietf/templates/doc/search/search_result_row.html +++ b/ietf/templates/doc/search/search_result_row.html @@ -45,18 +45,26 @@ {% endif %} - - {% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}{% endif %}{% if doc.get_state_slug == "rfc" %}{{ doc.latest_revision_date|date:"Y-m" }}{% else %}{{ doc.latest_revision_date|date:"Y-m-d" }}{% endif %}{% if doc.latest_revision_date|timesince_days|new_enough:request %}{% if doc.get_state_slug != "rfc" %}{% endif %} - New + + + {% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}{% endif %} + {% if doc.get_state_slug == "rfc" %}{{ doc.latest_revision_date|date:"Y-m" }}{% else %}{{ doc.latest_revision_date|date:"Y-m-d" }}{% endif %} + {% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}{% endif %} + + + {% if doc.pages %} +
{{doc.pages}} page{{ doc.pages|pluralize }} + {% endif %} + + + {% if doc.latest_revision_date|timesince_days|new_enough:request %} + New {% endif %} {% 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" %} @@ -72,9 +80,9 @@ {% if ad_name == None or ad_name != doc.ad.plain_name %} {% if doc.ad %} -

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

+
{{ doc.ad }}
{% endif %} - {% if doc.shepherd %}{{doc.shepherd|emailwrap|default:""}}{% endif %} + {% if doc.shepherd %}{{doc.shepherd|emailwrap|default:""}}{% endif %} {% else %} diff --git a/static/css/ietf.css b/static/css/ietf.css index bd9124146..396f532e0 100644 --- a/static/css/ietf.css +++ b/static/css/ietf.css @@ -376,3 +376,6 @@ footer { tbody.plain tr th { border-top: 0; text-align: right; max-width: 12em;} tbody.plain tr:first-child th { border-top: 0; text-align: left; width: 6em; } tbody.plain tr td { border-top: 0; } + + +td.ad div { border-bottom: solid #ccc 1px; }