Move status_preview snippet to notifications directory

That's the only place it's used, always nice to de-clutter the snippets
directory
This commit is contained in:
Mouse Reeve 2022-07-09 12:39:02 -07:00
parent ed847494ab
commit 11a0c1691b
5 changed files with 4 additions and 4 deletions

View file

@ -118,7 +118,7 @@
<div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-muted{% endif %}"> <div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-muted{% endif %}">
<div class="columns"> <div class="columns">
<div class="column is-clipped"> <div class="column is-clipped">
{% include 'snippets/status_preview.html' with status=related_status %} {% include 'notifications/items/status_preview.html' with status=related_status %}
</div> </div>
<div class="column is-narrow has-text-muted"> <div class="column is-narrow has-text-muted">
{{ related_status.published_date|timesince }} {{ related_status.published_date|timesince }}

View file

@ -119,7 +119,7 @@
<div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-muted{% endif %}"> <div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-muted{% endif %}">
<div class="columns"> <div class="columns">
<div class="column is-clipped"> <div class="column is-clipped">
{% include 'snippets/status_preview.html' with status=related_status %} {% include 'notifications/items/status_preview.html' with status=related_status %}
</div> </div>
<div class="column is-narrow has-text-muted"> <div class="column is-narrow has-text-muted">
{{ related_status.published_date|timesince }} {{ related_status.published_date|timesince }}

View file

@ -51,7 +51,7 @@
<div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-default{% endif %}"> <div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-default{% endif %}">
<div class="columns"> <div class="columns">
<div class="column is-clipped"> <div class="column is-clipped">
{% include 'snippets/status_preview.html' with status=related_status %} {% include 'notifications/items/status_preview.html' with status=related_status %}
</div> </div>
<div class="column is-narrow has-text-default"> <div class="column is-narrow has-text-default">
{{ related_status.published_date|timesince }} {{ related_status.published_date|timesince }}

View file

@ -54,7 +54,7 @@
<div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-default{% endif %}"> <div class="notification py-2 {% if notification.id in unread %}is-primary is-light{% else %}has-background-body has-text-default{% endif %}">
<div class="columns"> <div class="columns">
<div class="column is-clipped"> <div class="column is-clipped">
{% include 'snippets/status_preview.html' with status=related_status %} {% include 'notifications/items/status_preview.html' with status=related_status %}
</div> </div>
<div class="column is-narrow has-text-default"> <div class="column is-narrow has-text-default">
{{ related_status.published_date|timesince }} {{ related_status.published_date|timesince }}