new settings option PASSWORD_EDITABLE
This commit is contained in:
parent
0a245a1e78
commit
d4767b2c57
3 changed files with 6 additions and 0 deletions
|
@ -32,7 +32,9 @@
|
|||
{% else %}
|
||||
<a href="{% url 'activate-user' user.id %}" class="btn btn-default"><span class="glyphicon glyphicon-check"></span> activate</a>
|
||||
{% endif %}
|
||||
{% if password_editable %}
|
||||
<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>
|
||||
<a href="javascript:void(0);" data-item="delete" data-action="{% url 'delete-user' user.id %}" data-toggle="modal" data-target="#confirm-delete" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> delete</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue