diff options
author | Leif Johansson <leifj@sunet.se> | 2011-03-05 21:33:29 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-03-05 21:33:29 +0100 |
commit | 298a4fcdae3225b4868b1fe8f9bead5688cc44a8 (patch) | |
tree | bd03e4a897ad09b66a938c9c9800003a332214c6 | |
parent | d4493171ce75dedc1e26cfc4877116a273b38749 (diff) |
polish membership display
-rw-r--r-- | site-media/css/style.css | 2 | ||||
-rw-r--r-- | templates/apps/name/name.html | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/site-media/css/style.css b/site-media/css/style.css index 4dd4e45..0ce32d5 100644 --- a/site-media/css/style.css +++ b/site-media/css/style.css @@ -14,6 +14,8 @@ div#footer li { float: left; margin: 0 0.15em} .ilist li { float: left; display: inline; padding: inherit; } .rlist ul { list-style: none inside; padding: inherit; } .rlist li { float: right; display: inline; padding: inherit; } +.clist ul { list-style: none; } +.clist li { display: block; } .formpadding { padding: 5px; } p.description { padding-top: 20px; padding-bottom: 5px; } div#headline{ font: 300% "Trebuchet MS", sans-serif; margin-bottom: 20px;} diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html index 2025b6c..b34cfb9 100644 --- a/templates/apps/name/name.html +++ b/templates/apps/name/name.html @@ -6,7 +6,8 @@ $("#memberships").accordion({ header: 'h3', collapsible: true, - active: false + active: false, + autoHeight: true }); $("#invitations").accordion({ header: 'h3', @@ -61,9 +62,9 @@ <div> <div> {{m.user|userdisplay}} ({{m.user|lastidentifier}}) became a member of {{name.shortname}} {{m.timecreated|datehumanize}} - {% if m.tags %}with role{{m.tags|pluralize}}: {% for tag in m.tags %}<b>{{ tag|escape }}</b> {%endfor%}{%endif%} + {% if m.tags %}<h4>Role{{m.tags|pluralize}}</h4> + <ul class="clist">{% for tag in m.tags %}<li>{{ tag|escape }}</li>{%endfor%}</ul>{%endif%}. </div> - <br/> <div class="rlist button"> <ul> {% if render.edit %} |