adds global link to user's home page in the base.html template
authorcfdv <caldavis@gmail.com>
Sat, 18 Jun 2011 02:43:48 +0000 (21:43 -0500)
committercfdv <caldavis@gmail.com>
Sat, 18 Jun 2011 03:11:25 +0000 (22:11 -0500)
Issue #315 (add bio and website to user page)
  * enable profile edits
  * provide place in user's home page for details to appear

mediagoblin/templates/mediagoblin/base.html

index c731317354c04d2be93d4607afacc8729f26f53b..8e5fd55b59d1434eb1271a86873b4d871adb675e 100644 (file)
@@ -35,6 +35,8 @@
         <div class="mediagoblin_header_right">
           {% if request.user %}
                 {{ request.user['username'] }}'s account 
+                <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
+                                            user= request.user['username']) }}">home</a> 
                 <a href="{{ request.urlgen('mediagoblin.user_pages.user_gallery',
                                             user= request.user['username']) }}">gallery</a> 
                 (<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">logout</a>)