{% if user.is_staff and perms.fretboard.can_delete_topic %} ⚙ {% if topic.is_sticky %} Unstick {% else %} 📌 {% endif %} ❌ {% if topic.is_locked %} 🔓 {% else %} 🔒 {% endif %} ⇨ {% endif %} {{ output_text|safe }}