feat/show if edited

This commit is contained in:
SouthFox 2022-11-07 23:58:20 +08:00
parent 3eae1f36ce
commit 6793fda0c8

View file

@ -12,16 +12,20 @@
<a href="{{ toot.url }}" target="_blank" <a href="{{ toot.url }}" target="_blank"
rel="noopener noreferrer"> rel="noopener noreferrer">
<span class="time"> <span class="time">
{% if toot. visibility == "public"%} {% if toot.visibility == "public"%}
<span class="visibility-icon"><i class="fa-solid fa-earth-americas fa-globle"></i></span> <span class="visibility-icon"><i class="fa-solid fa-earth-americas fa-globle"></i></span>
{% elif toot. visibility == "unlisted"%} {% elif toot.visibility == "unlisted"%}
<span class="visibility-icon"><i class="fa-solid fa-lock-open fa-unlock"></i></span> <span class="visibility-icon"><i class="fa-solid fa-lock-open fa-unlock"></i></span>
{% elif toot. visibility == "private"%} {% elif toot.visibility == "private"%}
<span class="visibility-icon"><i class="fa-solid fa-lock"></i></span> <span class="visibility-icon"><i class="fa-solid fa-lock"></i></span>
{% elif toot. visibility == "direct"%} {% elif toot.visibility == "direct"%}
<span class="visibility-icon"><i class="fa-solid fa-envelope fa-at"></i></span> <span class="visibility-icon"><i class="fa-solid fa-envelope fa-at"></i></span>
{% endif %} {% endif %}
<time>{{ toot.created_at }}</time></span></a> <time>{{ toot.created_at }}
{% if toot.edited_at != None %}
<strong>*</strong>
{% endif %}
</time></span></a>
</div> </div>
<div class="content"> <div class="content">
{% if toot.spoiler_text != "" %} {% if toot.spoiler_text != "" %}