diff options
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/css/thread.css | 7 | ||||
-rw-r--r-- | hyperkitty/static/img/button.xcf | bin | 0 -> 9751 bytes | |||
-rw-r--r-- | hyperkitty/static/img/button_back.png | bin | 0 -> 3465 bytes | |||
-rw-r--r-- | hyperkitty/templates/message.html | 5 | ||||
-rw-r--r-- | hyperkitty/views/message.py | 3 |
5 files changed, 14 insertions, 1 deletions
diff --git a/hyperkitty/static/css/thread.css b/hyperkitty/static/css/thread.css index cdd14e7..a59e51a 100644 --- a/hyperkitty/static/css/thread.css +++ b/hyperkitty/static/css/thread.css @@ -13,7 +13,8 @@ h1 { } header .thread-older, -header .thread-newer { +header .thread-newer, +header .thread-back { display: block; padding-top: 38px; width: 160px; @@ -31,6 +32,10 @@ header .thread-newer { float: left; background-image: url('../img/button_newer.png'); } +header .thread-back { + background-image: url('../img/button_back.png'); + margin-bottom: 2em; +} #thread_nav{ margin:auto; diff --git a/hyperkitty/static/img/button.xcf b/hyperkitty/static/img/button.xcf Binary files differnew file mode 100644 index 0000000..f8ec675 --- /dev/null +++ b/hyperkitty/static/img/button.xcf diff --git a/hyperkitty/static/img/button_back.png b/hyperkitty/static/img/button_back.png Binary files differnew file mode 100644 index 0000000..45ba4e1 --- /dev/null +++ b/hyperkitty/static/img/button_back.png diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html index 35c3add..6c26c4f 100644 --- a/hyperkitty/templates/message.html +++ b/hyperkitty/templates/message.html @@ -1,5 +1,7 @@ {% extends "base.html" %} {% load gravatar %} +{% load hk_generic %} +{% load storm %} {% block additional_stylesheets %} <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/thread.css" /> @@ -8,6 +10,9 @@ {% block content %} <header> + <a class="thread-back" + href="{% url thread threadid=message.thread_id, mlist_fqdn=list_address %}"> + </a> <h1>{{ message.subject }}</h1> </header> diff --git a/hyperkitty/views/message.py b/hyperkitty/views/message.py index 3eb753a..5ee2881 100644 --- a/hyperkitty/views/message.py +++ b/hyperkitty/views/message.py @@ -78,7 +78,10 @@ def index(request, mlist_fqdn, hashid): #elif message.likes - message.dislikes < 0: # message.likestatus = "dislike" + mlist = store.get_list(mlist_fqdn) + c = RequestContext(request, { + 'mlist' : mlist, 'list_name' : list_name, 'list_address': mlist_fqdn, 'message': message, |