{% extends "widgy/popup_base.html" %} {% load i18n %} {% block popup-content %} {% if not has_commits %}

{% trans "There are no commits yet, nothing to reset to" %}

{% elif changed_anything %}

{% trans "This will irrevocably destroy all uncommited changes. Are you sure?" %}

{% csrf_token %}

{% else %}

{% trans "Nothing has changed — no need to reset." %}

{% endif %} {% endblock %}