diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-04 08:49:52 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-04 08:49:52 -0500 |
commit | a3a17d10683aac3ac503731ecd69b363f81a2d51 (patch) | |
tree | 9f92fdead964a088242f6f0bf10708124c8d3001 | |
parent | ae50c14f0fcce247922af3fa889687dabd466b52 (diff) | |
download | mediagoblin-a3a17d10683aac3ac503731ecd69b363f81a2d51.tar.lz mediagoblin-a3a17d10683aac3ac503731ecd69b363f81a2d51.tar.xz mediagoblin-a3a17d10683aac3ac503731ecd69b363f81a2d51.zip |
Put link to edit profile slightly after the profile
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/user.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html index 63e66fa5..98394684 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@ -27,13 +27,14 @@ {% 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" %} |