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:
commit
0712276737
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue