From b94def80b0de56a360155ac1f3a4011e5903cfa0 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 25 Mar 2021 16:32:15 -0700 Subject: [PATCH] Adds localstorage hide option for directory prompt --- bookwyrm/templates/directory.html | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/directory.html b/bookwyrm/templates/directory.html index 697cfa3c..6b24a2f8 100644 --- a/bookwyrm/templates/directory.html +++ b/bookwyrm/templates/directory.html @@ -13,8 +13,8 @@ {% if not request.user.discoverable %} -
- {% url 'settings-profile' as path %} +
+

{% trans "Make your profile discoverable to other BookWyrm users." %}

@@ -22,10 +22,18 @@ {% csrf_token %}

- {% blocktrans %}You can opt-out at any time in your profile settings{% endblocktrans %} + {% url 'settings-profile' as path %} + {% blocktrans %}You can opt-out at any time in your profile settings.{% endblocktrans %}

-
+
+
+ {% trans "Dismiss message" as button_text %} + +
+
{% endif %}
@@ -143,3 +151,7 @@
{% endblock %} + +{% block scripts %} + +{% endblock %}