From a3a17d10683aac3ac503731ecd69b363f81a2d51 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 4 Jul 2011 08:49:52 -0500 Subject: [PATCH] Put link to edit profile slightly after the profile --- mediagoblin/templates/mediagoblin/user_pages/user.html | 7 ++++--- 1 file 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 %}

{{ user.username }}'s profile

+ + {% include "mediagoblin/utils/profile.html" %} + {% if request.user['_id'] == user['_id'] or request.user['is_admin'] %} Edit profile + user.username }}">Edit profile {% endif %} - {% include "mediagoblin/utils/profile.html" %} - {% set pagination_base_url = user_gallery_url %} {% include "mediagoblin/utils/object_gallery.html" %} -- 2.25.1