From 6178aa0814f8c9f7d6f073c3c0ed2f94e4990500 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 4 Jul 2011 09:41:43 -0500 Subject: [PATCH] Move submit an item to the user page. --- mediagoblin/templates/mediagoblin/user_pages/user.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html index 98394684..7f8a3cec 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@ -35,6 +35,12 @@ user.username }}">Edit profile {% endif %} + {% if request.user['_id'] == user['_id'] %} +

+ Submit an item +

+ {% endif %} + {% set pagination_base_url = user_gallery_url %} {% include "mediagoblin/utils/object_gallery.html" %} -- 2.25.1