Skip to content

Commit 7fef69d

Browse files
committed
Restore color bands to the email-alias page. Commit ready for merge.
- Legacy-Id: 9989
1 parent 6ebe1fa commit 7fef69d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ietf/templates/doc/email_aliases.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
{% block morecss %}
66
td.aliasname { white-space:nowrap;}
7+
.table-no-lines th, .table-no-lines td {border-top: none !important;}
78
{% endblock %}
89

910
{% block title %}Document email aliases{% if doc %} for {{doc.name}}{% endif %}{% endblock %}
@@ -12,11 +13,11 @@
1213
{% origin %}
1314
<h1>Document email aliases{% if doc %} for {{doc.name}}{% endif %}</h1>
1415
{% regroup aliases|dictsort:"doc_name" by doc_name as alias_list %}
15-
<table class="ietf-table">
16+
<table class="table table-no-lines table-condensed">
1617
{% for alias in alias_list %}
17-
{% cycle 'evenrow' 'oddrow' as alternator silent %}
18+
{% cycle '' 'active' as alternator silent %}
1819
{% for item in alias.list %}
19-
<tr class={{alternator}}><td class="aliasname">{{alias.grouper}}{{item.alias_type|default:''}}@{{ietf_domain}}</td><td>{{item.expansion}}</td></tr>
20+
<tr {% if alternator %}class="{{alternator}}"{% endif %}><td class="aliasname">{{alias.grouper}}{{item.alias_type|default:''}}@{{ietf_domain}}</td><td>{{item.expansion}}</td></tr>
2021
{% endfor %}
2122
{% endfor %}
2223
</table>

0 commit comments

Comments
 (0)