settings: password editable -> external auth

This commit is contained in:
Élie Bouttier 2014-09-02 21:43:02 -07:00
parent c878c59bce
commit 69553587c1
4 changed files with 16 additions and 12 deletions

View file

@ -32,7 +32,7 @@
{% else %}
<a href="{% url 'activate-user' user.id %}" class="btn btn-default"><span class="glyphicon glyphicon-check"></span> activate</a>
{% endif %}
{% if password_editable %}
{% if not external_auth %}
<a href="{% url 'edit-user-password' user.id %}" class="btn btn-info"><span class="glyphicon glyphicon-cog"></span> change password</a>
{% endif %}
<a href="{% url 'edit-user' user.id %}" class="btn btn-primary"><span class="glyphicon glyphicon-edit"></span> edit</a>