Browse Source

Add space for post-button settings and replace it

merge-requests/48/head
Jared McAteer 6 years ago
committed by Deimos
parent
commit
df960cd7b9
  1. 15
      tildes/tildes/templates/topic.jinja2

15
tildes/tildes/templates/topic.jinja2

@ -82,9 +82,9 @@
'ic_topic_tags', 'ic_topic_tags',
topic_id36=topic.topic_id36, topic_id36=topic.topic_id36,
) }}" ) }}"
data-ic-swap-style="append"
data-ic-target=".topic-full .post-buttons:first"
>Tag</a>
data-ic-swap-style="replace"
data-ic-target=".topic-full .post-buttons:first + .post-buttons-settings"
>Tag</a></li>
{% endif %} {% endif %}
{% if request.has_permission('delete', topic) %} {% if request.has_permission('delete', topic) %}
@ -103,8 +103,8 @@
'ic_topic_group', 'ic_topic_group',
topic_id36=topic.topic_id36, 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</a> >Move</a>
{% endif %} {% endif %}
@ -114,8 +114,8 @@
'ic_topic_title', 'ic_topic_title',
topic_id36=topic.topic_id36, 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</a> >Edit title</a>
{% endif %} {% endif %}
@ -167,6 +167,7 @@
</li> </li>
{% endif %} {% endif %}
</menu> </menu>
<div class="post-buttons-settings"></div>
{% endif %} {% endif %}
{% if topic.is_locked %} {% if topic.is_locked %}

Loading…
Cancel
Save