100 |
100 |
101 params['edit_form'] = EditForm |
101 params['edit_form'] = EditForm |
102 params['create_form'] = CreateForm |
102 params['create_form'] = CreateForm |
103 |
103 |
104 # TODO(tlarsen) Add support for Django style template lookup |
104 # TODO(tlarsen) Add support for Django style template lookup |
105 params['edit_template'] = 'soc/models/edit.html' |
|
106 params['public_template'] = 'soc/host/public.html' |
105 params['public_template'] = 'soc/host/public.html' |
107 params['list_template'] = 'soc/models/list.html' |
|
108 params['invite_template'] = 'soc/models/invite.html' |
|
109 |
106 |
110 params['lists_template'] = { |
107 params['list_row'] = 'soc/host/list/host_row.html' |
111 'list_main': 'soc/list/list_main.html', |
108 params['list_heading'] = 'soc/host/list/host_heading.html' |
112 'list_pagination': 'soc/list/list_pagination.html', |
|
113 'list_row': 'soc/host/list/host_row.html', |
|
114 'list_heading': 'soc/host/list/host_heading.html', |
|
115 } |
|
116 |
109 |
117 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
110 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
118 params['invite_redirect'] = '/request/list' |
111 params['invite_redirect'] = '/request/list' |
119 |
112 |
120 params = dicts.merge(original_params, params) |
113 params = dicts.merge(original_params, params) |