- {% if not active and not changeset.closed %}
-
- {% endif %}
- {% if can_edit %}
- {% trans 'Edit' %}
- {% endif %}
-
{% bootstrap_messages %}
{% if changeset.last_state_update and changeset.state != 'unproposed' %}
@@ -115,15 +107,25 @@
{% endfor %}
{% buttons %}
- {% if can_delete %}
-
+ {% if active %}
+ {% if can_delete %}
+
+ {% endif %}
+ {% endif %}
+ {% if can_unpropose %}
+
{% endif %}
- {% if can_edit and not changeset.proposed %}
-
+ {% if active %}
+ {% if can_edit %}
+ {% trans 'Edit' %}
+ {% endif %}
+ {% if can_edit and not changeset.proposed and active %}
+
+ {% endif %}
{% endif %}
- {% if can_unpropose %}
-
+ {% if not active and not changeset.closed %}
+
{% endif %}