diff --git a/tildes/tildes/templates/macros/buttons.jinja2 b/tildes/tildes/templates/macros/buttons.jinja2 index 35969c0..4fa84a6 100644 --- a/tildes/tildes/templates/macros/buttons.jinja2 +++ b/tildes/tildes/templates/macros/buttons.jinja2 @@ -45,7 +45,6 @@ {% endif %} {% endif %} -
  • {% if not is_toggled %} {% endif %} -
  • {% endmacro %} {% macro _post_action_toggle_button_url(route_name, subject) %} diff --git a/tildes/tildes/templates/macros/comments.jinja2 b/tildes/tildes/templates/macros/comments.jinja2 index 0d8e30b..369efb9 100644 --- a/tildes/tildes/templates/macros/comments.jinja2 +++ b/tildes/tildes/templates/macros/comments.jinja2 @@ -159,7 +159,7 @@ {% endif %} {% if request.has_permission('vote', comment) %} - {{ post_action_toggle_button("vote", comment, is_toggled=comment.user_voted) }} +
  • {{ post_action_toggle_button("vote", comment, is_toggled=comment.user_voted) }}
  • {% endif %} {% if request.has_permission('label', comment) %} @@ -190,11 +190,11 @@ {% endif %} {% if request.has_permission('bookmark', comment) %} - {{ post_action_toggle_button("bookmark", comment, is_toggled=comment.user_bookmarked) }} +
  • {{ post_action_toggle_button("bookmark", comment, is_toggled=comment.user_bookmarked) }}
  • {% endif %} {% if request.has_permission("remove", comment) %} - {{ post_action_toggle_button("remove", comment, comment.is_removed) }} +
  • {{ post_action_toggle_button("remove", comment, comment.is_removed) }}
  • {% endif %} {% if request.has_permission('reply', comment) %} diff --git a/tildes/tildes/templates/macros/topics.jinja2 b/tildes/tildes/templates/macros/topics.jinja2 index 97303b0..71e3086 100644 --- a/tildes/tildes/templates/macros/topics.jinja2 +++ b/tildes/tildes/templates/macros/topics.jinja2 @@ -209,11 +209,11 @@ {% if request.has_permission("bookmark", topic) %} - {{ post_action_toggle_button("bookmark", topic, is_toggled=topic.user_bookmarked) }} +
  • {{ post_action_toggle_button("bookmark", topic, is_toggled=topic.user_bookmarked) }}
  • {% endif %} {% if request.has_permission("ignore", topic) %} - {{ post_action_toggle_button("ignore", topic, is_toggled=topic.user_ignored, trigger_name="topic-actions-ignore") }} +
  • {{ post_action_toggle_button("ignore", topic, is_toggled=topic.user_ignored, trigger_name="topic-actions-ignore") }}
  • {% endif %} diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index b3cf537..39bbe6c 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -166,19 +166,19 @@ {% endif %} {% if request.has_permission('lock', topic) %} - {{ post_action_toggle_button("lock", topic, topic.is_locked) }} +
  • {{ post_action_toggle_button("lock", topic, topic.is_locked) }}
  • {% endif %} {% if request.has_permission('bookmark', topic) %} - {{ post_action_toggle_button("bookmark", topic, is_toggled=topic.user_bookmarked) }} +
  • {{ post_action_toggle_button("bookmark", topic, is_toggled=topic.user_bookmarked) }}
  • {% endif %} {% if request.has_permission("ignore", topic) %} - {{ post_action_toggle_button("ignore", topic, is_toggled=topic.user_ignored) }} +
  • {{ post_action_toggle_button("ignore", topic, is_toggled=topic.user_ignored) }}
  • {% endif %} {% if request.has_permission("remove", topic) %} - {{ post_action_toggle_button("remove", topic, topic.is_removed) }} +
  • {{ post_action_toggle_button("remove", topic, topic.is_removed) }}
  • {% endif %} {# Only show "View Markdown" (and dropdown) when it's a text topic and the user is