Skip to content

Commit 0712276

Browse files
committed
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 7fef69d
2 parents e58db5b + 7fef69d commit 0712276

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

hold-for-merge

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- conf-mode -*-
22

3+
personal/lars/6.2.1.dev0@9970 # Requires the timeline work
34
personal/lars/6.0.5.dev0@9734 # Obsoleted - don't use 'bleach'
45
personal/lars/6.0.5.dev0@9732 # Already fixed in a different merge
56
personal/lars/6.0.5.dev0@9731 # Jquery update; wait with this to the CDN branch comes in

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)