aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/thread.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-07 04:10:09 +0300
committerGravatar Vitaly Takmazov2019-04-07 04:10:09 +0300
commit618e320e952ba292a13cbe80981807c866baf7c6 (patch)
treed551c35d1546409c9bf623f09d010634e82d6dd3 /src/main/resources/templates/views/thread.html
parentf1278ae7119fcb77326c6d520915ecaa1527d39c (diff)
Display “edited” in web
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r--src/main/resources/templates/views/thread.html6
1 files changed, 6 insertions, 0 deletions
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>