{% load i18n %} {% comment %} Repair Scripts button for one Script Project. Rendered inert rather than hidden for a project serving nothing, so an operator sees that there is no revision to republish from instead of finding no button and wondering where it went. Context: - url: The project's repair route - label: The button label - serving: Whether the project is serving a revision {% endcomment %} {% if serving %} {{ label }} {% else %} {% comment %} The title sits on the wrapper: a disabled .btn gets pointer-events:none, so a title on the button itself never surfaces. {% endcomment %} {% endif %}