diff options
author | Máirín Duffy <duffy@fedoraproject.org> | 2013-09-26 18:30:10 -0400 |
---|---|---|
committer | Máirín Duffy <duffy@fedoraproject.org> | 2013-11-20 08:54:09 -0500 |
commit | 56f32c035c45a7f7e0199eeaf53af61e8d0acf4e (patch) | |
tree | 9584b7cc1d8383eb2d71886c034381c30f2c6b49 /hyperkitty | |
parent | f2c88b3574c384b0c92f09a745be7fc22f3de42d (diff) | |
download | hyperkitty-56f32c035c45a7f7e0199eeaf53af61e8d0acf4e.tar.gz hyperkitty-56f32c035c45a7f7e0199eeaf53af61e8d0acf4e.tar.xz hyperkitty-56f32c035c45a7f7e0199eeaf53af61e8d0acf4e.zip |
adjusted category badges on list overview
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css | 6 | ||||
-rw-r--r-- | hyperkitty/templates/threads/summary_thread.html | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css b/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css index 629442b..6effca1 100644 --- a/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css +++ b/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css @@ -73,6 +73,12 @@ float: left; } +.thread-title .category { + width: 15%; + text-align: center; + margin-right: 1%; +} + .thread-info .tags { display: inline; margin-right: 1em; diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html index a6857e5..e9b2b1f 100644 --- a/hyperkitty/templates/threads/summary_thread.html +++ b/hyperkitty/templates/threads/summary_thread.html @@ -8,6 +8,11 @@ <a name="{{thread.thread_id}}" href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}" > + {% if thread.category %} + <span class="label category" style="background-color:{{thread.category.color}}"> + {{ thread.category.name|upper }} + </span> + {% endif %} {% if thread.unread %} <i class="unread icon-eye-close" title="New messages in this thread"></i> {% endif %} @@ -15,11 +20,6 @@ </span> <div class="thread-stats"> <ul class="inline-block"> - {% if thread.category %} - <span class="label category" style="background-color:{{thread.category.color}}"> - {{ thread.category.name|upper }} - </span> - {% endif %} <li class="participant"> {{ thread.participants|length }} </li> |