mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-24 10:31:05 +00:00
Merge pull request #3416 from bookwyrm-social/edit-status-header
Sets edit status header to indicate status type
This commit is contained in:
commit
3555ef9d2e
1 changed files with 23 additions and 2 deletions
|
@ -2,10 +2,31 @@
|
|||
{% load i18n %}
|
||||
{% 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 %}
|
||||
<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>
|
||||
|
||||
{% with 0|uuid as uuid %}
|
||||
|
|
Loading…
Reference in a new issue