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:
Roberto Rosario
2011-06-16 15:14:05 -04:00
parent e6fad805c7
commit af59b3a7cd
5 changed files with 81 additions and 4 deletions

View File

@@ -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 %}