diff --git a/bookwyrm/templates/feed/direct_messages.html b/bookwyrm/templates/feed/direct_messages.html index 77f9aac19..196d1a390 100644 --- a/bookwyrm/templates/feed/direct_messages.html +++ b/bookwyrm/templates/feed/direct_messages.html @@ -13,7 +13,7 @@ {% if partner %}

{% trans "All messages" %}

{% endif %} -
+
{% include 'snippets/create_status/status.html' with type="direct" uuid=1 mention=partner no_script=True %}
@@ -30,3 +30,11 @@ {% endblock %} + +{% block scripts %} + +{% if request.user.show_guided_tour %} + {% include 'guided_tour/direct_messages.html' %} +{% endif %} + +{% endblock %} diff --git a/bookwyrm/templates/feed/feed.html b/bookwyrm/templates/feed/feed.html index 9e625313f..7ecf10b70 100644 --- a/bookwyrm/templates/feed/feed.html +++ b/bookwyrm/templates/feed/feed.html @@ -1,5 +1,6 @@ {% extends 'feed/layout.html' %} {% load i18n %} +{% load static %} {% block panel %} @@ -73,3 +74,12 @@ {% endfor %} {% endblock %} + +{% block scripts %} + + +{% if request.user.show_guided_tour %} + {% include 'guided_tour/home.html' %} +{% endif %} + +{% endblock %} diff --git a/bookwyrm/templates/feed/layout.html b/bookwyrm/templates/feed/layout.html index d1c3a4f6f..16a868c2a 100644 --- a/bookwyrm/templates/feed/layout.html +++ b/bookwyrm/templates/feed/layout.html @@ -1,6 +1,5 @@ {% extends 'layout.html' %} {% load i18n %} -{% load static %} {% block title %}{% trans "Updates" %}{% endblock %} @@ -30,11 +29,4 @@
{% endblock %} -{% block scripts %} - -{% if request.user.show_guided_tour %} - {% include 'guided_tour/home.html' %} -{% endif %} - -{% endblock %} diff --git a/bookwyrm/templates/guided_tour/direct_messages.html b/bookwyrm/templates/guided_tour/direct_messages.html new file mode 100644 index 000000000..f1656f3df --- /dev/null +++ b/bookwyrm/templates/guided_tour/direct_messages.html @@ -0,0 +1,81 @@ +{% load i18n %} + + diff --git a/bookwyrm/templates/snippets/create_status/content_warning_field.html b/bookwyrm/templates/snippets/create_status/content_warning_field.html index 2c34136ce..2c8ba6738 100644 --- a/bookwyrm/templates/snippets/create_status/content_warning_field.html +++ b/bookwyrm/templates/snippets/create_status/content_warning_field.html @@ -1,5 +1,5 @@ {% load i18n %} -
+