Sets edit status header to indicate status type

Fixes #2671
This commit is contained in:
Mouse Reeve 2024-08-23 16:42:39 -07:00
parent 413c26bc5e
commit 142ed70d4d

View file

@ -2,10 +2,31 @@
{% load i18n %} {% load i18n %}
{% load utilities %} {% load utilities %}
{% block title %}{% trans "Edit status" %}{% endblock %} {% block title %}
{% if draft.status_type == "Review" %}
{% trans "Edit review" %}
{% elif draft.status_type == "Quotation" %}
{% trans "Edit quote" %}
{% elif draft.status_type == "Comment" %}
{% trans "Edit comment" %}
{% else %}
{% trans "Edit status" %}
{% endif %}
{% endblock %}
{% block content %} {% block content %}
<header class="block content"> <header class="block content">
<h1>{% trans "Edit status" %}</h1> <h1>
{% if draft.status_type == "Review" %}
{% trans "Edit review" %}
{% elif draft.status_type == "Quotation" %}
{% trans "Edit quote" %}
{% elif draft.status_type == "Comment" %}
{% trans "Edit comment" %}
{% else %}
{% trans "Edit status" %}
{% endif %}
</h1>
</header> </header>
{% with 0|uuid as uuid %} {% with 0|uuid as uuid %}