diff options
author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-03-31 16:52:58 +0200 |
---|---|---|
committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-03-31 16:52:58 +0200 |
commit | 02b265f082974923a7739b8d42fd41fe60c2ada2 (patch) | |
tree | 125fef5f9546421bcbb0e4720bde87fb785c2463 | |
parent | 9920b6fa99b5321dead4a59c982adfc51fa3940a (diff) | |
download | hyperkitty-02b265f082974923a7739b8d42fd41fe60c2ada2.tar.gz hyperkitty-02b265f082974923a7739b8d42fd41fe60c2ada2.tar.xz hyperkitty-02b265f082974923a7739b8d42fd41fe60c2ada2.zip |
Sometime we have the first or the last thread
-rw-r--r-- | templates/base_thread.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base_thread.html b/templates/base_thread.html index 3596186..99ff70c 100644 --- a/templates/base_thread.html +++ b/templates/base_thread.html @@ -41,6 +41,7 @@ </a> </p> <div id="thread_nav"> + {% if next_thread %} <div id="newewthread" class="inline-block"> <a href="{{ next_thread_id }}"> <img src="{{ STATIC_URL }}img/button_newer.png" alt="New thread" /> @@ -48,6 +49,7 @@ <br /> {{next_thread}} </div> + {% endif %} <div class="inline-block thread_title"> <span class="type type_question"> @@ -61,6 +63,7 @@ </ul> </div> + {% if prev_thread %} <div id="olderhread" class="inline-block right"> <a href="{{ prev_thread_id }}"> <img src="{{ STATIC_URL }}img/button_older.png" alt="New thread" /> @@ -68,6 +71,8 @@ <br /> {{prev_thread}} </div> + {% endif %} + </div> |