Skip to content

Commit

Permalink
Merge pull request #3416 from bookwyrm-social/edit-status-header
Browse files Browse the repository at this point in the history
Sets edit status header to indicate status type
  • Loading branch information
mouse-reeve authored Aug 27, 2024
2 parents 23dfe39 + abb97e6 commit 3555ef9
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions bookwyrm/templates/compose.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 3555ef9

Please sign in to comment.