From: Christopher Allan Webber Date: Mon, 4 Jul 2011 13:49:52 +0000 (-0500) Subject: Put link to edit profile slightly after the profile X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a3a17d10683aac3ac503731ecd69b363f81a2d51;p=mediagoblin.git Put link to edit profile slightly after the profile --- 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" %}