Removed 'change password' link next to the current user's name and added a few view to handle the current user's password, details and editing
This commit is contained in:
@@ -115,9 +115,7 @@
|
||||
{% trans "Anonymous" %}
|
||||
{% else %}
|
||||
{{ user.get_full_name|default:user }}
|
||||
{% if user.has_usable_password %}
|
||||
<a href="{% url password_change_view %}">({% trans "New password" %})</a>
|
||||
{% endif %}
|
||||
<a href="{% url current_user_details %}" title="{% trans 'User details' %}"><span class="famfam active famfam-vcard"></span></a>
|
||||
{% endif %}
|
||||
</li>
|
||||
|
||||
@@ -179,11 +177,13 @@
|
||||
{% if side_bar_search and not web_theme_hide_menus %}
|
||||
{% with "true" as side_bar %}
|
||||
{% with "true" as form_hide_required_text %}
|
||||
{% with "" as read_only %}
|
||||
{% with "" as object %}
|
||||
{% search_form %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
|
||||
{% get_object_navigation_links "secondary_menu" as object_navigation_links %}
|
||||
|
||||
Reference in New Issue
Block a user