summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-06-01 07:37:42 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-06-01 07:37:42 +0900
commit9634368b71564292d2a620e6a5e5ab6d588202a0 (patch)
treeded36d9492a9af103a216c7edc9b333617a15712 /templates
parenta5095a6764f9ccc15892040f1e31de6897e1ede1 (diff)
Add missing post_control template and configuration values for thread merge functionality
Diffstat (limited to 'templates')
-rw-r--r--templates/post/post_controls.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html
index 7e56edd3..eed76702 100644
--- a/templates/post/post_controls.html
+++ b/templates/post/post_controls.html
@@ -48,6 +48,9 @@
<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.merge, board.uri) %}
+ <a title="{% trans %}Merge thread with another thread {% endtrans %}" href="?/{{ board.dir }}merge/{{ post.id }}">{{ config.mod.link_merge }}</a>&nbsp;
+{% 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;