diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-12-19 14:19:38 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-12-19 14:19:38 +0100 |
commit | 015596867024364377c35b305043d99876e52816 (patch) | |
tree | 4c1e0bf0b68da7efa7dc1429d7fc70d6dccb8ea0 | |
parent | 6c6e9f989faf9591cc6103910dbfe875836b5da0 (diff) | |
download | hyperkitty-015596867024364377c35b305043d99876e52816.tar.gz hyperkitty-015596867024364377c35b305043d99876e52816.tar.xz hyperkitty-015596867024364377c35b305043d99876e52816.zip |
The 'Back to thread' button now scrolls to the message in the thread
-rw-r--r-- | hyperkitty/templates/message.html | 2 | ||||
-rw-r--r-- | hyperkitty/templates/messages/message.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html index 1425218..947df56 100644 --- a/hyperkitty/templates/message.html +++ b/hyperkitty/templates/message.html @@ -7,7 +7,7 @@ <div class="message-header"> <a class="thread-back" - href="{% url thread threadid=message.thread_id, mlist_fqdn=list_address %}"> + href="{% url thread threadid=message.thread_id, mlist_fqdn=list_address %}#{{message.message_id_hash}}"> </a> {# the background image will be a "back to thread" button #} <h1>{{ message.subject }}</h1> </div> diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 00919d6..5d7261d 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -2,7 +2,7 @@ {% load gravatar %} {% load hk_generic %} -<div class="email_header"> +<div class="email_header" id="{{email.message_id_hash}}"> <div class="email_date inline-block pull-right"> {% ifchanged %} <span class="date"> |