{% if mod %} {% if mod|hasPermission(config.mod.delete, board) %} {{ secure_link_confirm(config.mod.link_delete, 'Delete'|trans, 'Are you sure you want to delete this?'|trans, board ~ '/delete/' ~ post.id) }}  {% endif %} {% if mod|hasPermission(config.mod.bumplock, board) %} {% if post.sage %} {{ config.mod.link_bumpunlock }}  {% else %} {{ config.mod.link_bumplock }}  {% endif %} {% endif %} {% if mod|hasPermission(config.mod.lock, board) %} {% if post.locked %} {{ config.mod.link_unlock }}  {% else %} {{ config.mod.link_lock }}  {% endif %} {% endif %} {% if mod|hasPermission(config.mod.bandelete, board) %} {{ config.mod.link_bandelete }}  {% endif %}
{% if not post.thread %} {% if mod|hasPermission(config.mod.sticky, board) %} {% if post.sticky %} {{ config.mod.link_desticky }}  {% else %} {{ config.mod.link_sticky }}  {% endif %} {% endif %} {% if mod|hasPermission(config.mod.cycle, board) %} {% if post.cycle %} {{ config.mod.link_uncycle }}  {% else %} {{ config.mod.link_cycle }}  {% endif %} {% endif %} {% endif %} {% if mod|hasPermission(config.mod.editpost, board) %} {{ config.mod.link_editpost }}  {% endif %} {% if mod|hasPermission(config.mod.bandeletebyip, board) %} {{ config.mod.link_bandeletebyip }}  {% endif %}
{% endif %}