Merged in [9989] from rjsparks@nostrum.com:

Restore color bands to the email-alias page.
 - Legacy-Id: 10022
Note: SVN reference [9989] has been migrated to Git commit 7fef69daa5
This commit is contained in:
Henrik Levkowetz 2015-08-18 15:25:04 +00:00
commit 0712276737
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,6 @@
# -*- conf-mode -*-
personal/lars/6.2.1.dev0@9970 # Requires the timeline work
personal/lars/6.0.5.dev0@9734 # Obsoleted - don't use 'bleach'
personal/lars/6.0.5.dev0@9732 # Already fixed in a different merge
personal/lars/6.0.5.dev0@9731 # Jquery update; wait with this to the CDN branch comes in

View file

@ -4,6 +4,7 @@
{% block morecss %}
td.aliasname { white-space:nowrap;}
.table-no-lines th, .table-no-lines td {border-top: none !important;}
{% endblock %}
{% block title %}Document email aliases{% if doc %} for {{doc.name}}{% endif %}{% endblock %}
@ -12,11 +13,11 @@ td.aliasname { white-space:nowrap;}
{% origin %}
<h1>Document email aliases{% if doc %} for {{doc.name}}{% endif %}</h1>
{% regroup aliases|dictsort:"doc_name" by doc_name as alias_list %}
<table class="ietf-table">
<table class="table table-no-lines table-condensed">
{% for alias in alias_list %}
{% cycle 'evenrow' 'oddrow' as alternator silent %}
{% cycle '' 'active' as alternator silent %}
{% for item in alias.list %}
<tr class={{alternator}}><td class="aliasname">{{alias.grouper}}{{item.alias_type|default:''}}@{{ietf_domain}}</td><td>{{item.expansion}}</td></tr>
<tr {% if alternator %}class="{{alternator}}"{% endif %}><td class="aliasname">{{alias.grouper}}{{item.alias_type|default:''}}@{{ietf_domain}}</td><td>{{item.expansion}}</td></tr>
{% endfor %}
{% endfor %}
</table>