From 65e0d72a73bd0a4b02001b845c9b25653f39896f Mon Sep 17 00:00:00 2001 From: Bat Date: Thu, 26 Jul 2018 16:14:01 +0200 Subject: [PATCH] Display date for notifications --- templates/notifications/index.html.tera | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/notifications/index.html.tera b/templates/notifications/index.html.tera index 859b0069..a6ba98d1 100644 --- a/templates/notifications/index.html.tera +++ b/templates/notifications/index.html.tera @@ -18,6 +18,7 @@

{{ notification.object.post.post.title }}

+

{{ notification.creation_date | date(format="%B %e, %H:%m") }}

{% elif notification.kind == "FOLLOW" %} @@ -26,6 +27,7 @@ {{ "{{ user }} is now following you." | _(user=notification.object.follower.display_name | escape) }} +

{{ notification.creation_date | date(format="%B %e, %H:%m") }}

{% elif notification.kind == "LIKE" %} @@ -35,6 +37,7 @@

{{ notification.object.post.post.title }}

+

{{ notification.creation_date | date(format="%B %e, %H:%m") }}

{% elif notification.kind == "MENTION" %} @@ -43,6 +46,7 @@ {{ "{{ user }} mentioned you." | _(user=notification.object.user.display_name | escape) }} +

{{ notification.creation_date | date(format="%B %e, %H:%m") }}

{% elif notification.kind == "RESHARE" %} @@ -52,6 +56,7 @@

{{ notification.object.post.post.title }}

+

{{ notification.creation_date | date(format="%B %e, %H:%m") }}

{% endif %}