app/soc/views/models/base.py
changeset 1967 3fe7ad2d40c0
parent 1958 8e8f45dd46e3
child 1991 3aeda3007467
equal deleted inserted replaced
1966:fcf246b379a7 1967:3fe7ad2d40c0
   558     context['page_name'] = page_name
   558     context['page_name'] = page_name
   559     context['list'] = soc.logic.lists.Lists(contents)
   559     context['list'] = soc.logic.lists.Lists(contents)
   560 
   560 
   561     context['entity_type'] = params['name']
   561     context['entity_type'] = params['name']
   562     context['entity_type_plural'] = params['name_plural']
   562     context['entity_type_plural'] = params['name_plural']
       
   563     context['list_msg'] = params['list_msg']
   563     context['no_lists_msg'] = params['no_lists_msg']
   564     context['no_lists_msg'] = params['no_lists_msg']
   564 
   565 
   565     template = params['list_template']
   566     template = params['list_template']
   566 
   567 
   567     return helper.responses.respond(request, template, context)
   568     return helper.responses.respond(request, template, context)