equal
deleted
inserted
replaced
95 params['invite_filter'] = {'group_ln': 'link_name'} |
95 params['invite_filter'] = {'group_ln': 'link_name'} |
96 |
96 |
97 params['name'] = "Host" |
97 params['name'] = "Host" |
98 params['name_short'] = "Host" |
98 params['name_short'] = "Host" |
99 params['name_plural'] = "Hosts" |
99 params['name_plural'] = "Hosts" |
|
100 params['url_name'] = "host" |
|
101 params['module_name'] = "host" |
100 |
102 |
101 params['edit_form'] = EditForm |
103 params['edit_form'] = EditForm |
102 params['create_form'] = CreateForm |
104 params['create_form'] = CreateForm |
103 |
105 |
104 # TODO(tlarsen) Add support for Django style template lookup |
106 # TODO(tlarsen) Add support for Django style template lookup |
112 'list_pagination': 'soc/list/list_pagination.html', |
114 'list_pagination': 'soc/list/list_pagination.html', |
113 'list_row': 'soc/host/list/host_row.html', |
115 'list_row': 'soc/host/list/host_row.html', |
114 'list_heading': 'soc/host/list/host_heading.html', |
116 'list_heading': 'soc/host/list/host_heading.html', |
115 } |
117 } |
116 |
118 |
117 params['delete_redirect'] = '/host/list' |
119 params['delete_redirect'] = '/' + params['url_name'] + '/list' |
118 params['invite_redirect'] = '/request/list' |
120 params['invite_redirect'] = '/request/list' |
119 |
121 |
120 params['save_message'] = [ugettext_lazy('Profile saved.')] |
122 params['save_message'] = [ugettext_lazy('Profile saved.')] |
121 |
123 |
122 params['edit_params'] = { |
124 params['edit_params'] = { |