# HG changeset patch # User Lennard de Rijk # Date 1227352760 0 # Node ID cb23b3897e0cec32bb887feeeb7bfd45e6f91127 # Parent 2ee7ad5266a87840ea2fbf78f3f234319b92e38f Fixed the description on the user's role page. This broke in r1111. The new lists also removed the need for instruction_text in models/base.py. Removed an obsolete assignment in models/request.py Patch by: Lennard de Rijk diff -r 2ee7ad5266a8 -r cb23b3897e0c app/soc/views/models/base.py --- a/app/soc/views/models/base.py Sat Nov 22 10:29:13 2008 +0000 +++ b/app/soc/views/models/base.py Sat Nov 22 11:19:20 2008 +0000 @@ -369,9 +369,6 @@ context['entity_type_plural'] = params['name_plural'] context['redirect_action'] = params['list_redirect_action'] - if 'instruction_text' in params: - context['instruction_text'] = params['instruction_text'] - template = params['list_template'] return helper.responses.respond(request, template, context) diff -r 2ee7ad5266a8 -r cb23b3897e0c app/soc/views/models/request.py --- a/app/soc/views/models/request.py Sat Nov 22 10:29:13 2008 +0000 +++ b/app/soc/views/models/request.py Sat Nov 22 11:19:20 2008 +0000 @@ -144,10 +144,9 @@ """ new_params = {} - new_params['list_template'] = 'soc/models/list.html' # TODO(SRabbelier) Change the redirect to something more useful new_params['list_redirect_action'] = '/' - new_params['instruction_text'] = "An overview of your unhandeled requests" + new_params['list_description'] = "An overview of your unhandled requests" params = dicts.merge(params, new_params)