app/soc/logic/site/sidebar.py
changeset 389 9b873166d7d5
parent 348 fe527c17760c
child 425 95058c81a065
equal deleted inserted replaced
388:699b206b64b7 389:9b873166d7d5
    22   '"Todd Larsen" <tlarsen@google.com>',
    22   '"Todd Larsen" <tlarsen@google.com>',
    23   ]
    23   ]
    24 
    24 
    25 
    25 
    26 from google.appengine.api import users
    26 from google.appengine.api import users
    27 
       
    28 from django.utils import datastructures
       
    29 
    27 
    30 from soc.logic import menu
    28 from soc.logic import menu
    31 from soc.logic.site import id_user
    29 from soc.logic.site import id_user
    32 from soc.logic.site import map
    30 from soc.logic.site import map
    33 
    31 
   152     if request:
   150     if request:
   153       # there is an HTTP request object, so use the path stored in it
   151       # there is an HTTP request object, so use the path stored in it
   154       path = request.path
   152       path = request.path
   155 
   153 
   156   if path:
   154   if path:
   157     # TODO(tlarsen): scan through list and mark current request.path as "selected"
   155     # TODO(tlarsen): scan through list and mark current request.path 
       
   156     # as "selected"
   158     pass
   157     pass
   159 
   158 
   160   return menu.Menu(items=menu_items)    
   159   return menu.Menu(items=menu_items)