Skip to content

Commit

Permalink
Restore color bands to the email-alias page. Commit ready for merge.
Browse files Browse the repository at this point in the history
 - Legacy-Id: 9989
  • Loading branch information
rjsparks committed Aug 7, 2015
1 parent 6ebe1fa commit 7fef69d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ietf/templates/doc/email_aliases.html
Expand Up @@ -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 %}
Expand All @@ -12,11 +13,11 @@
{% 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>
Expand Down

0 comments on commit 7fef69d

Please sign in to comment.