moviewyrm/bookwyrm/templates/snippets/privacy-icons.html

19 lines
548 B
HTML
Raw Normal View History

2020-11-11 00:18:48 +00:00
{% if item.privacy == 'public' %}
<span class="icon icon-globe" title="Public">
<span class="is-sr-only">Public</span>
2020-11-11 00:18:48 +00:00
</span>
{% elif item.privacy == 'unlisted' %}
<span class="icon icon-unlock" title="Unlisted">
<span class="is-sr-only">Unlisted</span>
2020-11-11 00:18:48 +00:00
</span>
{% elif item.privacy == 'followers' %}
<span class="icon icon-lock" title="Followers-only">
<span class="is-sr-only">Followers-only</span>
2020-11-11 00:18:48 +00:00
</span>
{% else %}
<span class="icon icon-envelope" title="Private">
<span class="is-sr-only">Private</span>
2020-11-11 00:18:48 +00:00
</span>
{% endif %}