app/soc/views/helper/redirects.py
changeset 2114 1b3830abcdf7
parent 1911 87c3e62b28dc
child 2153 7c8adb14c7fb
equal deleted inserted replaced
2113:edc9b84629a7 2114:1b3830abcdf7
   233       params['url_name'], entity.key().name())
   233       params['url_name'], entity.key().name())
   234 
   234 
   235   return result
   235   return result
   236 
   236 
   237 
   237 
       
   238 def getManageOverviewRedirect(entity, params):
       
   239   """Returns the redirect for the manage overview view of the given entity.
       
   240   """
       
   241 
       
   242   result = '/%s/manage_overview/%s' % (
       
   243       params['url_name'], entity.key().name())
       
   244 
       
   245   return result
       
   246 
       
   247 
   238 def getSelectRedirect(params):
   248 def getSelectRedirect(params):
   239   """Returns the pick redirect for the specified entity.
   249   """Returns the pick redirect for the specified entity.
   240   """
   250   """
   241 
   251 
   242   if params.get('args'):
   252   if params.get('args'):