Student Proposal Review page now has a title that contains the title and student name.
Addresses part of Issue 437.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/student_proposal.py Wed Mar 25 17:55:16 2009 +0000
+++ b/app/soc/views/models/student_proposal.py Wed Mar 25 18:54:55 2009 +0000
@@ -584,7 +584,8 @@
# get the context for this webpage
context = responses.getUniversalContext(request)
responses.useJavaScript(context, params['js_uses_all'])
- context['page_name'] = page_name
+ context['page_name'] = '%s "%s" from %s' %(page_name, entity.title,
+ entity.scope.name())
context['entity'] = entity
context['entity_type'] = params['name']
context['entity_type_url'] = params['url_name']