diff --git a/tildes/tildes/templates/notifications_unread.jinja2 b/tildes/tildes/templates/notifications_unread.jinja2 index b586436..a10db3d 100644 --- a/tildes/tildes/templates/notifications_unread.jinja2 +++ b/tildes/tildes/templates/notifications_unread.jinja2 @@ -76,10 +76,9 @@

No unread notifications.

Go to previously read notifications

{% endif %} - -{% if request.user %}{{ comment_label_options_template(comment_label_options) }}{% endif %} {% endblock %} {% block templates %} + {{ comment_label_options_template(comment_label_options) }} {{ comment_reply_template() }} {% endblock %} diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index 97ad29f..87d85dd 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -12,7 +12,10 @@ {% block title %}{{ topic.title }} - ~{{ topic.group.path }}{% endblock %} {% block templates %} - {{ comment_reply_template() }} + {% if request.user %} + {{ comment_reply_template() }} + {{ comment_label_options_template(comment_label_options) }} + {% endif %} {% endblock %} {% block header_context_link %} @@ -280,7 +283,6 @@ -{% if request.user %}{{ comment_label_options_template(comment_label_options) }}{% endif %} {% endblock content %} {% block sidebar %} diff --git a/tildes/tildes/templates/user.jinja2 b/tildes/tildes/templates/user.jinja2 index 1c30168..96616ea 100644 --- a/tildes/tildes/templates/user.jinja2 +++ b/tildes/tildes/templates/user.jinja2 @@ -3,12 +3,19 @@ {% extends 'base_user_menu.jinja2' %} -{% from 'macros/comments.jinja2' import comment_label_options_template, render_single_comment with context %} +{% from 'macros/comments.jinja2' import comment_label_options_template, comment_reply_template, render_single_comment with context %} {% from 'macros/links.jinja2' import group_linked, username_linked %} {% from 'macros/topics.jinja2' import render_topic_for_listing with context %} {% block title %}User: {{ user.username }}{% endblock %} +{% block templates %} + {% if request.user %} + {{ comment_reply_template() }} + {{ comment_label_options_template(comment_label_options) }} + {% endif %} +{% endblock %} + {% block header_context_link %} {{ user.username }} {% endblock %} @@ -130,8 +137,6 @@ {% endif %} {% endif %} -{% if request.user %}{{ comment_label_options_template(comment_label_options) }}{% endif %} - {% endblock %} {% block sidebar %}