forked from mirrors/bookwyrm
Fixes post icons
This commit is contained in:
parent
9f291d8ebd
commit
544605007b
1 changed files with 14 additions and 0 deletions
|
@ -23,9 +23,23 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="card-footer-item">
|
<div class="card-footer-item">
|
||||||
|
{% if status.privacy == 'public' %}
|
||||||
<span class="icon icon-public">
|
<span class="icon icon-public">
|
||||||
<span class="is-sr-only">Public post</span>
|
<span class="is-sr-only">Public post</span>
|
||||||
</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 %}
|
{% if status.user == request.user %}
|
||||||
<form name="delete-{{status.id}}" action="/delete-status" method="post">
|
<form name="delete-{{status.id}}" action="/delete-status" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
Loading…
Reference in a new issue