Add change-account-settings link to user.html
authorJef van Schendel <mail@jefvanschendel.nl>
Wed, 4 Jan 2012 23:18:29 +0000 (00:18 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Wed, 4 Jan 2012 23:18:29 +0000 (00:18 +0100)
mediagoblin/templates/mediagoblin/user_pages/user.html

index 78bbaf8c135ade908a4e9ae6f65e48fde56d2158..c93db8b0a6230758b7ca063737e2a9ec4361245a 100644 (file)
             {%- trans %}Edit profile{% endtrans -%}
           </a>
         {% endif %}
+        {% if request.user._id == user._id %}
+          <a href="{{ request.urlgen('mediagoblin.edit.account') }}">
+            {%- trans %}Change account settings{% endtrans -%}
+          </a>
+        {% endif %}
       </div>
     {% endif %}