mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
Merge pull request #1512 from haiwen/setting-custom
[settings] modification for custom
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
{% if two_factor_auth_enabled %}
|
{% if two_factor_auth_enabled %}
|
||||||
<li class="tab"><a href="#two-factor-auth">{% trans "Two-Factor Authentication" %}</a></li>
|
<li class="tab"><a href="#two-factor-auth">{% trans "Two-Factor Authentication" %}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="tab"><a href="#del-account">{% trans "Delete Account" %}</a></li>
|
<li class="tab" id="del-account-nav"><a href="#del-account">{% trans "Delete Account" %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{% if not is_ldap_user %}
|
{% if not is_ldap_user %}
|
||||||
<label>{% trans "Password:" %}</label><a href="{{ SITE_ROOT }}accounts/password/change/">{% trans "Update" %}</a><br/>
|
<div id="update-password"><label>{% trans "Password:" %}</label><a href="{{ SITE_ROOT }}accounts/password/change/">{% trans "Update" %}</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<label>{% trans "Name:" context "true name" %}</label><input type="text" name="nickname" value="{{ form.data.nickname }}" class="input" />
|
<label>{% trans "Name:" context "true name" %}</label><input type="text" name="nickname" value="{{ form.data.nickname }}" class="input" />
|
||||||
{% for error in form.nickname.errors %}
|
{% for error in form.nickname.errors %}
|
||||||
|
Reference in New Issue
Block a user