summaryrefslogtreecommitdiff
path: root/templates/post/post_controls.html
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2015-04-03 14:56:28 +0800
committerczaks <marcin@6irc.net>2016-05-06 16:39:20 +0200
commit505adffcdca1c1141b7b46f862b7939f2f4acf45 (patch)
tree114147c8a811183561a227cce875140bc4ac364e /templates/post/post_controls.html
parentab02a4272514410fc053ced9c17a26bc0c8f1cf4 (diff)
Cyclical threads ♺
Diffstat (limited to 'templates/post/post_controls.html')
-rw-r--r--templates/post/post_controls.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html
index 99a8484c..60dc6fc4 100644
--- a/templates/post/post_controls.html
+++ b/templates/post/post_controls.html
@@ -41,7 +41,6 @@
{% endif %}
{% endif %}
-
{% if mod|hasPermission(config.mod.move, board.uri) %}
{% if not post.thread %}
<a title="{% trans %}Move thread to another board{% endtrans %}" href="?/{{ board.dir }}move/{{ post.id }}">{{ config.mod.link_move }}</a>&nbsp;
@@ -49,6 +48,13 @@
<a title="{% trans %}Move reply to another board{% endtrans %}" href="?/{{ board.dir }}move_reply/{{ post.id }}">{{ config.mod.link_move }}</a>&nbsp;
{% endif %}
{% endif %}
+{% if mod|hasPermission(config.mod.cycle, board.uri) %}
+ {% if post.cycle %}
+ <a title="{% trans %}Make thread not cycle{% endtrans %}" href="?/{{ secure_link(board.dir ~ 'uncycle/' ~ post.id) }}">{{ config.mod.link_uncycle }}</a>&nbsp;
+ {% else %}
+ <a title="{% trans %}Make thread cycle{% endtrans %}" href="?/{{ secure_link(board.dir ~ 'cycle/' ~ post.id) }}">{{ config.mod.link_cycle }}</a>&nbsp;
+ {% endif %}
+{% endif %}
{% if mod|hasPermission(config.mod.editpost, board.uri) %}
<a title="{% trans %}Edit post{% endtrans %}" href="?/{{ board.dir }}edit{% if config.mod.raw_html_default %}_raw{% endif %}/{{ post.id }}">{{ config.mod.link_editpost }}</a>&nbsp;
{% endif %}