aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/templates/views/partial/message.html3
-rw-r--r--src/main/resources/templates/views/thread.html6
2 files changed, 9 insertions, 0 deletions
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 }}
</time>
</a>
+ {% if msg.created != msg.updatedAt %}
+ &middot; Edited
+ {% endif %}
</div>
<div class="msg-tags">
{{ tags(msg.user.name, msg.tags | tagsList) }}
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html
index 2092cc1b..252b41b0 100644
--- a/src/main/resources/templates/views/thread.html
+++ b/src/main/resources/templates/views/thread.html
@@ -18,6 +18,9 @@
{{ msg.created | prettyTime }}
</time>
</a>
+ {% if msg.updatedAt != msg.created %}
+ &middot; Edited
+ {% endif %}
</div>
<div class="msg-tags">
{{ tags(msg.user.name, msg.tags | tagsList) }}
@@ -145,6 +148,9 @@
{{ msg.created | prettyTime }}
</time>
</a>
+ {% if msg.updatedAt != msg.created %}
+ &middot; Edited
+ {% endif %}
</div>
</div>
<div class="msg-txt">{{ msg | formatMessage }}</div>