app/soc/views/models/student_proposal.py
changeset 2011 c4e1aa9ac8ca
parent 2008 33c7bd727f16
child 2031 f018461e0f8a
equal deleted inserted replaced
2010:b380c64085ef 2011:c4e1aa9ac8ca
   582           error, request, template=params['error_public'])
   582           error, request, template=params['error_public'])
   583 
   583 
   584     # get the context for this webpage
   584     # get the context for this webpage
   585     context = responses.getUniversalContext(request)
   585     context = responses.getUniversalContext(request)
   586     responses.useJavaScript(context, params['js_uses_all'])
   586     responses.useJavaScript(context, params['js_uses_all'])
   587     context['page_name'] = page_name
   587     context['page_name'] = '%s "%s" from %s' %(page_name, entity.title,
       
   588                                                entity.scope.name())
   588     context['entity'] = entity
   589     context['entity'] = entity
   589     context['entity_type'] = params['name']
   590     context['entity_type'] = params['name']
   590     context['entity_type_url'] = params['url_name']
   591     context['entity_type_url'] = params['url_name']
   591 
   592 
   592     # get the roles important for reviewing an application
   593     # get the roles important for reviewing an application