Put link to edit profile slightly after the profile
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 4 Jul 2011 13:49:52 +0000 (08:49 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 4 Jul 2011 13:49:52 +0000 (08:49 -0500)
mediagoblin/templates/mediagoblin/user_pages/user.html

index 63e66fa5d41ac244ee58a5f308faf132e4a742c5..98394684f27d7b67ea95ccf9f6e3ae33e6e1568e 100644 (file)
 {% block mediagoblin_content -%}
   {% if user %}
     <h1>{{ user.username }}'s profile</h1>
+
+    {% include "mediagoblin/utils/profile.html" %}
+
     {% if request.user['_id'] == user['_id'] or request.user['is_admin'] %}
        <a href="{{ request.urlgen('mediagoblin.edit.profile') }}?username={{
-           user.username }}">Edit profile</a>
+                       user.username }}">Edit profile</a>
     {% endif %}
 
-    {% include "mediagoblin/utils/profile.html" %}
-
     {% set pagination_base_url = user_gallery_url %}
     {% include "mediagoblin/utils/object_gallery.html" %}