From c6e328706b7ec01585be013ac5041c34c84d8492 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 11 Aug 2021 09:03:38 -0700 Subject: [PATCH 1/3] Fixes required attr on content fields for composing quotes --- bookwyrm/templates/snippets/create_status/content_field.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/create_status/content_field.html b/bookwyrm/templates/snippets/create_status/content_field.html index 583a73d6..0a42a832 100644 --- a/bookwyrm/templates/snippets/create_status/content_field.html +++ b/bookwyrm/templates/snippets/create_status/content_field.html @@ -14,6 +14,6 @@ draft: an existing Status object that is providing default values for input fiel id="id_content_{{ type }}_{{ book.id }}{{ reply_parent.id }}" placeholder="{{ placeholder }}" aria-label="{% if reply_parent %}{% trans 'Reply' %}{% else %}{% trans 'Content' %}{% endif %}" - required + {% if type != "quotation" %}required{% endif %} >{% if reply_parent %}{{ reply_parent|mentions:request.user }}{% endif %}{% if mention %}@{{ mention|username }} {% endif %}{{ draft.content|default:'' }} From 26ff55ebeedd82a8d490b24a908a9e3e6c93f8bd Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 11 Aug 2021 09:19:25 -0700 Subject: [PATCH 2/3] Fixes polling variable name --- bookwyrm/templates/feed/feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/feed/feed.html b/bookwyrm/templates/feed/feed.html index 780f1d17..39eebb26 100644 --- a/bookwyrm/templates/feed/feed.html +++ b/bookwyrm/templates/feed/feed.html @@ -19,7 +19,7 @@ {# announcements and system messages #} {% if not activities.number > 1 %} {% if request.user.show_goal and not goal and tab.key == streams.first.key %} From 6880657deb14b17a8518ae010f9f92f77cc73ef4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 12 Aug 2021 06:42:21 -0700 Subject: [PATCH 3/3] Fixes quote display --- bookwyrm/templates/snippets/status/body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/status/body.html b/bookwyrm/templates/snippets/status/body.html index d205f423..2c8a0e04 100644 --- a/bookwyrm/templates/snippets/status/body.html +++ b/bookwyrm/templates/snippets/status/body.html @@ -3,7 +3,7 @@ {% block card-content %} {% with status_type=status.status_type %} -{% if status_type == 'GeneratedNote' or status_type == 'Rating' or not status.content %} +{% if status_type == 'GeneratedNote' or status_type == 'Rating' %} {% include 'snippets/status/generated_status.html' with status=status %} {% else %} {% include 'snippets/status/content_status.html' with status=status %}