1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-23 00:59:59 +00:00

Change guest anon upload glyph.

This commit is contained in:
snowfag 2017-05-24 00:57:07 -04:00
parent 02c7223f09
commit aa09191a24

View file

@ -41,7 +41,7 @@
<div class="btn-group" data-toggle="buttons"> <div class="btn-group" data-toggle="buttons">
<label class="btn btn-default {% if not g.user %}active disabled{% endif %}" title="Upload torrent anonymously (don't display your username)"> <label class="btn btn-default {% if not g.user %}active disabled{% endif %}" title="Upload torrent anonymously (don't display your username)">
{{ upload_form.is_anonymous(disabled=(False if g.user else ""), checked=(False if g.user else "")) }} {{ upload_form.is_anonymous(disabled=(False if g.user else ""), checked=(False if g.user else "")) }}
{% if not g.user %}<span class="glyphicon glyphicon-asterisk"></span>{% endif %} {% if not g.user %}<span class="glyphicon glyphicon-ban-circle"></span>{% endif %}
{% if g.user %}<span class="glyphicon glyphicon-check"></span>{% endif %} {% if g.user %}<span class="glyphicon glyphicon-check"></span>{% endif %}
{% if g.user %}<span class="glyphicon glyphicon-unchecked"></span>{% endif %} {% if g.user %}<span class="glyphicon glyphicon-unchecked"></span>{% endif %}
Anonymous Anonymous