From 896885bffd2c4b2bf94d111e22a825a001026fc7 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 15 Oct 2021 14:43:02 -0700 Subject: [PATCH] Don't show progress field on status update comments Also retitle the view --- bookwyrm/templates/compose.html | 4 ++-- bookwyrm/templates/snippets/create_status/comment.html | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/compose.html b/bookwyrm/templates/compose.html index 3a222cf6..cc600972 100644 --- a/bookwyrm/templates/compose.html +++ b/bookwyrm/templates/compose.html @@ -2,10 +2,10 @@ {% load i18n %} {% load utilities %} -{% block title %}{% trans "Compose status" %}{% endblock %} +{% block title %}{% trans "Edit status" %}{% endblock %} {% block content %}
-

{% trans "Compose status" %}

+

{% trans "Edit status" %}

{% with 0|uuid as uuid %} diff --git a/bookwyrm/templates/snippets/create_status/comment.html b/bookwyrm/templates/snippets/create_status/comment.html index 82ccdbe7..10cdf639 100644 --- a/bookwyrm/templates/snippets/create_status/comment.html +++ b/bookwyrm/templates/snippets/create_status/comment.html @@ -15,6 +15,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j {% trans "Some thoughts on the book" as placeholder %} {% block post_content_additions %} + {% if not draft.reading_status %} {# Supplemental fields #}
{% active_shelf book as active_shelf %} @@ -68,6 +69,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j {% endwith %} {% endif %}
+ {% endif %} {% endblock %} {% endwith %}