From 11a0c1691b04c79ea26e626ff4c7d217253fc21d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 9 Jul 2022 12:39:02 -0700 Subject: [PATCH] Move status_preview snippet to notifications directory That's the only place it's used, always nice to de-clutter the snippets directory --- bookwyrm/templates/notifications/items/boost.html | 2 +- bookwyrm/templates/notifications/items/fav.html | 2 +- bookwyrm/templates/notifications/items/mention.html | 2 +- bookwyrm/templates/notifications/items/reply.html | 2 +- .../{snippets => notifications/items}/status_preview.html | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename bookwyrm/templates/{snippets => notifications/items}/status_preview.html (100%) diff --git a/bookwyrm/templates/notifications/items/boost.html b/bookwyrm/templates/notifications/items/boost.html index a1a0a24fb..2c2bf695b 100644 --- a/bookwyrm/templates/notifications/items/boost.html +++ b/bookwyrm/templates/notifications/items/boost.html @@ -118,7 +118,7 @@
- {% include 'snippets/status_preview.html' with status=related_status %} + {% include 'notifications/items/status_preview.html' with status=related_status %}
{{ related_status.published_date|timesince }} diff --git a/bookwyrm/templates/notifications/items/fav.html b/bookwyrm/templates/notifications/items/fav.html index 0bface201..9cda6b928 100644 --- a/bookwyrm/templates/notifications/items/fav.html +++ b/bookwyrm/templates/notifications/items/fav.html @@ -119,7 +119,7 @@
- {% include 'snippets/status_preview.html' with status=related_status %} + {% include 'notifications/items/status_preview.html' with status=related_status %}
{{ related_status.published_date|timesince }} diff --git a/bookwyrm/templates/notifications/items/mention.html b/bookwyrm/templates/notifications/items/mention.html index 864052635..c3b3c1f34 100644 --- a/bookwyrm/templates/notifications/items/mention.html +++ b/bookwyrm/templates/notifications/items/mention.html @@ -51,7 +51,7 @@
- {% include 'snippets/status_preview.html' with status=related_status %} + {% include 'notifications/items/status_preview.html' with status=related_status %}
{{ related_status.published_date|timesince }} diff --git a/bookwyrm/templates/notifications/items/reply.html b/bookwyrm/templates/notifications/items/reply.html index 099e22078..16c84d439 100644 --- a/bookwyrm/templates/notifications/items/reply.html +++ b/bookwyrm/templates/notifications/items/reply.html @@ -54,7 +54,7 @@
- {% include 'snippets/status_preview.html' with status=related_status %} + {% include 'notifications/items/status_preview.html' with status=related_status %}
{{ related_status.published_date|timesince }} diff --git a/bookwyrm/templates/snippets/status_preview.html b/bookwyrm/templates/notifications/items/status_preview.html similarity index 100% rename from bookwyrm/templates/snippets/status_preview.html rename to bookwyrm/templates/notifications/items/status_preview.html