From e3c2806c6c2e50750dd82b5f576591744c21f257 Mon Sep 17 00:00:00 2001 From: Jared McAteer Date: Sat, 6 Oct 2018 15:35:20 -0600 Subject: [PATCH] Adding a space for post-button additonal settings and make intercooler replace its contents --- 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 %}