equal
deleted
inserted
replaced
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) |