Skip to content

Commit

Permalink
Moved change password link out of header and into the Profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Johnson committed Mar 10, 2011
1 parent 7ec623e commit 3873fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeoNodePy/geonode/templates/page_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a id="logo" href="{% url geonode.views.index %}">GeoNode</a>
<div id="login-area">
{% if user.is_authenticated %}
<a href="{% if user.get_profile %}{{ user.get_profile.get_absolute_url }}{% else %}{% url profiles_create_profile %}{% endif %}">{{ user.username}}</a> (<a href="{% url auth_password_change %}">{% trans "Change password" %}</a> | <a href="{% url auth_logout %}">{% trans "Log out" %}</a>)
<a href="{% if user.get_profile %}{{ user.get_profile.get_absolute_url }}{% else %}{% url profiles_create_profile %}{% endif %}">{{ user.username}}</a> | <a href="{% url auth_logout %}">{% trans "Log out" %}</a>
{% else %}
<!-- this should be updated to a url var --><a href="/accounts/login">Sign in</a>
{% if REGISTRATION_OPEN %} or <a href="{% url registration_register %}">{% trans "Register" %}</a>{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ <h3>{% trans "Actions" %}</h3>
<ul>
{% if user == profile.user %}
<li><a href="{% url profiles_edit_profile %}">{% trans "Edit profile information" %}</a></li>
<li><a href="{% url auth_password_change %}">{% trans "Change password" %}</a></li>
{% endif %}
<li><a href="{% url data_upload %}">{% trans "Upload new data" %}</a></li>
<li><a href="{% url map_new %}">{% trans "Create a new map" %}</a></li>
Expand Down

0 comments on commit 3873fe6

Please sign in to comment.