app/soc/views/models/host.py
changeset 489 35fbec27f6cb
parent 445 31927f21970d
child 492 4abdeedfc08e
equal deleted inserted replaced
488:ec8802961afb 489:35fbec27f6cb
   105       'list_pagination': 'soc/list/list_pagination.html',
   105       'list_pagination': 'soc/list/list_pagination.html',
   106       'list_row': 'soc/host/list/host_row.html',
   106       'list_row': 'soc/host/list/host_row.html',
   107       'list_heading': 'soc/host/list/host_heading.html',
   107       'list_heading': 'soc/host/list/host_heading.html',
   108     }
   108     }
   109 
   109 
   110     params['delete_redirect'] = '/site/host/list'
   110     params['delete_redirect'] = '/host/list'
   111     params['create_redirect'] = '/site/host/profile'
   111     params['create_redirect'] = '/host/profile'
       
   112     params['invite_redirect'] = '/host/list'
   112 
   113 
   113     params['save_message'] = [ugettext_lazy('Profile saved.')]
   114     params['save_message'] = [ugettext_lazy('Profile saved.')]
   114 
   115 
   115     params['edit_params'] = {
   116     params['edit_params'] = {
   116         self.DEF_SUBMIT_MSG_PARAM_NAME: self.DEF_SUBMIT_MSG_PROFILE_SAVED,
   117         self.DEF_SUBMIT_MSG_PARAM_NAME: self.DEF_SUBMIT_MSG_PROFILE_SAVED,