From df960cd7b918eb51ca268aa5f977ae51ab087b66 Mon Sep 17 00:00:00 2001 From: Jared McAteer Date: Sat, 6 Oct 2018 15:35:20 -0600 Subject: [PATCH] Add space for post-button settings and replace it --- tildes/tildes/templates/topic.jinja2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 %}