# HG changeset patch # User Lennard de Rijk # Date 1249394382 -7200 # Node ID 9e03061402ac08bc9a997fcfc99cb6b69a2516a6 # Parent 1ec0af4ddd72ff21bd430cda225c8699246ab542 The Survey public view now uses the proper page name. Also removed the pick view entry from the Survey View. diff -r 1ec0af4ddd72 -r 9e03061402ac app/soc/views/models/survey.py --- a/app/soc/views/models/survey.py Tue Aug 04 15:58:31 2009 +0200 +++ b/app/soc/views/models/survey.py Tue Aug 04 15:59:42 2009 +0200 @@ -221,6 +221,9 @@ context['survey_form'] = survey_form + context['page_name'] = "%s titled '%s'" %( + context['page_name'], entity.title) + # return True to signal that the page may be displayed return True @@ -930,7 +933,6 @@ json = decorators.view(view.exportSerialized) list = decorators.view(view.list) public = decorators.view(view.public) -pick = decorators.view(view.pick) record = decorators.view(view.viewRecord) results = decorators.view(view.viewResults) take = decorators.view(view.take)