diff options
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/month_view.html | 4 | ||||
-rw-r--r-- | hyperkitty/templates/threads/right_col.html | 2 | ||||
-rw-r--r-- | hyperkitty/templates/user_profile.html | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index 24e4ae7..91d40f1 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -36,6 +36,7 @@ </div> <div class="thread_info"> <ul class="tags inline"> + {% if email.tags|length %} <li> Tags: </li> @@ -44,6 +45,7 @@ <a href="/tag/{{list_address}}/{{tag}}">{{tag}}</a> </li> {% endfor %} + {% endif %} </ul> <ul class="inline-block"> <li class="participant"> @@ -53,11 +55,13 @@ {{email.answers}} comments </li> </ul> + {% if settings.USE_MOCKUPS %} <ul class="inline-block"> <li class="like"> +{{email.avglike}} / - {{email.avgdislike}} </li> </ul> + {% endif %} </div> </div> <!-- End of thread --> diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 78f0621..19ac788 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -21,9 +21,11 @@ old </div> </div> + {% if settings.USE_MOCKUPS %} <p id="add_to_fav"> <a href="#AddFav" class="notsaved">Add to favorite discussions</a> </p> + {% endif %} <!-- End dates --> <hr id="grey"/> <div id="tags"> diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html index f0aa27e..798a947 100644 --- a/hyperkitty/templates/user_profile.html +++ b/hyperkitty/templates/user_profile.html @@ -33,6 +33,7 @@ </tr> </tbody> </table> + {% if settings.USE_MOCKUPS %} <h3> Up Votes : </h3> <ul> @@ -64,6 +65,7 @@ {% endif %} {% endfor %} </ul> + {% endif %} {% endblock %} |