app/soc/views/models/base.py
changeset 935 09f47e08f805
parent 934 9fcc08971efe
child 937 9c930fa3661c
equal deleted inserted replaced
934:9fcc08971efe 935:09f47e08f805
   673     context['entity_suffix'] = suffix
   673     context['entity_suffix'] = suffix
   674     context['entity_type'] = params['name']
   674     context['entity_type'] = params['name']
   675     context['entity_type_plural'] = params['name_plural']
   675     context['entity_type_plural'] = params['name_plural']
   676     context['entity_type_short'] = params['name_short']
   676     context['entity_type_short'] = params['name_short']
   677     context['entity_type_url'] = params['url_name']
   677     context['entity_type_url'] = params['url_name']
       
   678     context['return_url'] = request.path
   678 
   679 
   679     if params.get('export_content_type') and entity:
   680     if params.get('export_content_type') and entity:
   680       context['export_link'] = redirects.getExportRedirect(entity, params)
   681       context['export_link'] = redirects.getExportRedirect(entity, params)
   681 
   682 
   682     if entity:
   683     if entity: