From 618e320e952ba292a13cbe80981807c866baf7c6 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 7 Apr 2019 04:10:09 +0300 Subject: Display “edited” in web --- src/main/resources/templates/views/partial/message.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/resources/templates/views/partial') diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index bb36b25e..9a4d6452 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -13,6 +13,9 @@ {{ msg.created | prettyTime }} + {% if msg.created != msg.updatedAt %} + · Edited + {% endif %}
{{ tags(msg.user.name, msg.tags | tagsList) }} -- cgit v1.2.3