Fixes post icons

This commit is contained in:
Mouse Reeve 2020-10-28 12:33:27 -07:00
parent 9f291d8ebd
commit 544605007b

View file

@ -23,9 +23,23 @@
{% endif %}
<div class="card-footer-item">
{% if status.privacy == 'public' %}
<span class="icon icon-public">
<span class="is-sr-only">Public post</span>
</span>
{% elif status.privacy == 'unlisted' %}
<span class="icon icon-unlisted">
<span class="is-sr-only">Unlisted post</span>
</span>
{% elif status.privacy == 'followers' %}
<span class="icon icon-lock">
<span class="is-sr-only">Followers-only post</span>
</span>
{% else %}
<span class="icon icon-lock">
<span class="is-sr-only">Private post</span>
</span>
{% endif %}
{% if status.user == request.user %}
<form name="delete-{{status.id}}" action="/delete-status" method="post">
{% csrf_token %}