diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index a93c361..f5816e9 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -82,9 +82,9 @@ 'ic_topic_tags', topic_id36=topic.topic_id36, ) }}" - data-ic-swap-style="append" - data-ic-target=".topic-full .post-buttons:first" - >Tag + data-ic-swap-style="replace" + data-ic-target=".topic-full .post-buttons:first + .post-buttons-settings" + >Tag {% endif %} {% if request.has_permission('delete', topic) %} @@ -103,8 +103,8 @@ 'ic_topic_group', topic_id36=topic.topic_id36, ) }}" - data-ic-swap-style="append" - data-ic-target=".topic-full .post-buttons:first" + data-ic-swap-style="replace" + data-ic-target=".topic-full .post-buttons:first + .post-buttons-settings" >Move {% endif %} @@ -114,8 +114,8 @@ 'ic_topic_title', topic_id36=topic.topic_id36, ) }}" - data-ic-swap-style="append" - data-ic-target=".topic-full .post-buttons:first" + data-ic-swap-style="replace" + data-ic-target=".topic-full .post-buttons:first + .post-buttons-settings" >Edit title {% endif %} @@ -167,6 +167,7 @@ {% endif %} +
{% endif %} {% if topic.is_locked %}