From 7df34415bfd5ec1588a4c13953182290e0ca4f14 Mon Sep 17 00:00:00 2001 From: 8chan Date: Fri, 3 Apr 2015 18:49:38 -0700 Subject: [PATCH] Bugfix: Don't show cycle link on replies --- templates/post/post_controls.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html index 30f9ada2..8ff2996d 100644 --- a/templates/post/post_controls.html +++ b/templates/post/post_controls.html @@ -42,6 +42,13 @@ {{ config.mod.link_lock }}  {% endif %} {% endif %} +{% if mod|hasPermission(config.mod.cycle, board.uri) %} + {% if post.cycle %} + {{ config.mod.link_uncycle }}  + {% else %} + {{ config.mod.link_cycle }}  + {% endif %} +{% endif %} {% endif %} {% if mod|hasPermission(config.mod.move, board.uri) %} @@ -51,13 +58,6 @@ {{ config.mod.link_move }}  {% endif %} {% endif %} -{% if mod|hasPermission(config.mod.cycle, board.uri) %} - {% if post.cycle %} - {{ config.mod.link_uncycle }}  - {% else %} - {{ config.mod.link_cycle }}  - {% endif %} -{% endif %} {% if mod|hasPermission(config.mod.editpost, board.uri) %} {{ config.mod.link_editpost }}  {% endif %}