app/soc/views/helper/redirects.py
changeset 981 61a6a8d304dc
parent 946 db4134853d64
child 985 f0b02777f403
equal deleted inserted replaced
980:3f3f7ec251bf 981:61a6a8d304dc
    92       params['group_scope'], params['url_name'], entity.key().name())
    92       params['group_scope'], params['url_name'], entity.key().name())
    93 
    93 
    94   return result
    94   return result
    95 
    95 
    96 
    96 
       
    97 def getProcessRequestRedirect(entity, _):
       
    98   """Returns the redirect for processing the specified request entity
       
    99   """
       
   100 
       
   101   result = '/%s/process_request/%s/%s' % (
       
   102       entity.role, entity.scope_path, entity.link_id)
       
   103 
       
   104   return result
       
   105 
       
   106 
    97 def getSelectRedirect(entity, params):
   107 def getSelectRedirect(entity, params):
    98   """Returns the pick redirect for the specified entity.
   108   """Returns the pick redirect for the specified entity.
    99   """
   109   """
   100 
   110 
   101   if entity:
   111   if entity: