Edit indicator

This commit is contained in:
spikecodes 2021-02-14 14:53:09 -08:00
parent aa7c8c85df
commit 14ecf3cf60
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
4 changed files with 66 additions and 34 deletions

View file

@ -15,6 +15,7 @@
<small class="author_flair">{% call utils::render_flair(author.flair.flair_parts) %}</small>
{% endif %}
<span class="created" title="{{ created }}">{{ rel_time }}</span>
{% if edited.0 != "".to_string() %}<span class="edited" title="{{ edited.1 }}">edited {{ edited.0 }}</span>{% endif %}
</summary>
<div class="comment_body {% if highlighted %}highlighted{% endif %}">{{ body }}</div>
<blockquote class="replies">{% for c in replies -%}{{ c.render().unwrap() }}{%- endfor %}