{% extends 'generic/object.html' %} {% load i18n %} {% load branch_buttons %} {% block extra_controls %} {% if not object.is_active %} {% if object.ready %} {% trans "Activate" %} {% else %} {% trans "Activate" %} {% endif %} {% elif object.is_active %} {% trans "Deactivate" %} {% endif %} {% if object.ready %} {% branch_sync_button object %} {% branch_merge_button object %} {% endif %} {% if object.merged %} {% branch_revert_button object %} {% branch_archive_button object %} {% endif %} {% endblock %} {% block alerts %} {{ block.super }} {% if is_stuck %}