diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-04 09:41:43 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-04 09:41:43 -0500 |
commit | 6178aa0814f8c9f7d6f073c3c0ed2f94e4990500 (patch) | |
tree | 78041f1cc2dd17d4cc5b97818a36315fe1591009 | |
parent | 5c72d31d36bad3aee04e2ec46259ba797a352c2b (diff) | |
download | mediagoblin-6178aa0814f8c9f7d6f073c3c0ed2f94e4990500.tar.lz mediagoblin-6178aa0814f8c9f7d6f073c3c0ed2f94e4990500.tar.xz mediagoblin-6178aa0814f8c9f7d6f073c3c0ed2f94e4990500.zip |
Move submit an item to the user page.
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/user.html | 6 |
1 files changed, 6 insertions, 0 deletions
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</a> {% endif %} + {% if request.user['_id'] == user['_id'] %} + <p> + <a href="{{ request.urlgen('mediagoblin.submit.start') }}">Submit an item</a> + </p> + {% endif %} + {% set pagination_base_url = user_gallery_url %} {% include "mediagoblin/utils/object_gallery.html" %} |