equal
deleted
inserted
replaced
117 |
117 |
118 params['edit_form'] = EditForm |
118 params['edit_form'] = EditForm |
119 params['create_form'] = CreateForm |
119 params['create_form'] = CreateForm |
120 |
120 |
121 # TODO(tlarsen) Add support for Django style template lookup |
121 # TODO(tlarsen) Add support for Django style template lookup |
122 params['edit_template'] = 'soc/models/edit.html' |
|
123 params['public_template'] = 'soc/presence/public.html' |
122 params['public_template'] = 'soc/presence/public.html' |
124 params['list_template'] = 'soc/models/list.html' |
|
125 |
123 |
126 params['lists_template'] = { |
124 params['list_row'] = 'soc/presence/list/home_row.html' |
127 'list_main': 'soc/list/list_main.html', |
125 params['list_heading'] = 'soc/presence/list/home_heading.html' |
128 'list_pagination': 'soc/list/list_pagination.html', |
|
129 'list_row': 'soc/presence/list/home_row.html', |
|
130 'list_heading': 'soc/presence/list/home_heading.html', |
|
131 } |
|
132 |
126 |
133 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
127 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
134 |
128 |
135 params = dicts.merge(original_params, params) |
129 params = dicts.merge(original_params, params) |
136 |
130 |