Tweaked the document list display slightly, to sqeeze in a little bit more info on a page. Addresses issue # 1663.
- Legacy-Id: 9642
This commit is contained in:
parent
fa9525bc58
commit
2fa307aa3f
|
@ -45,18 +45,26 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="text-nowrap">
|
<td>
|
||||||
{% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}<a href="{{ rfcdiff_base_url }}?url2={{ doc.name }}-{{ doc.rev }}">{% 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" %}</a>{% endif %}
|
<span class="text-nowrap">
|
||||||
<wbr><span class="label label-success">New</span>
|
{% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}<a href="{{ rfcdiff_base_url }}?url2={{ doc.name }}-{{ doc.rev }}">{% 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" %}</a>{% endif %}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{% if doc.pages %}
|
||||||
|
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{% if doc.latest_revision_date|timesince_days|new_enough:request %}
|
||||||
|
<wbr><span class="label label-success">New</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %}
|
{% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %}
|
||||||
<wbr><span class="label label-warning">Expires soon</span>
|
<wbr><span class="label label-warning">Expires soon</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if doc.pages %}
|
|
||||||
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{% include "doc/search/status_columns.html" %}
|
{% include "doc/search/status_columns.html" %}
|
||||||
|
@ -72,9 +80,9 @@
|
||||||
{% if ad_name == None or ad_name != doc.ad.plain_name %}
|
{% if ad_name == None or ad_name != doc.ad.plain_name %}
|
||||||
<td class="ad">
|
<td class="ad">
|
||||||
{% if doc.ad %}
|
{% if doc.ad %}
|
||||||
<p>{{ doc.ad|default:"" }}</p>
|
<div><a title="AD" href="mailto:doc.ad.email.address">{{ doc.ad }}</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if doc.shepherd %}<small class="text-muted">{{doc.shepherd|emailwrap|default:""}}</small>{% endif %}
|
{% if doc.shepherd %}<a title="Shepherd" href="{{doc.shepherd}}"><small class="text-muted">{{doc.shepherd|emailwrap|default:""}}</small></a>{% endif %}
|
||||||
</td>
|
</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
|
|
|
@ -376,3 +376,6 @@ footer {
|
||||||
tbody.plain tr th { border-top: 0; text-align: right; max-width: 12em;}
|
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:first-child th { border-top: 0; text-align: left; width: 6em; }
|
||||||
tbody.plain tr td { border-top: 0; }
|
tbody.plain tr td { border-top: 0; }
|
||||||
|
|
||||||
|
|
||||||
|
td.ad div { border-bottom: solid #ccc 1px; }
|
||||||
|
|
Loading…
Reference in a new issue