119 site_sub_menu = page.NonPage( |
119 site_sub_menu = page.NonPage( |
120 'site-sub-menu', |
120 'site-sub-menu', |
121 'Site', |
121 'Site', |
122 parent=home) |
122 parent=home) |
123 |
123 |
|
124 site_settings_sub_menu = page.NonPage( |
|
125 'site-settings-sub-menu', |
|
126 'Site Settings', |
|
127 parent=site_sub_menu) |
|
128 |
124 # Site User Profile views |
129 # Site User Profile views |
125 site_settings_edit = page.Page( |
130 site_settings_edit = page.Page( |
126 page.Url( |
131 page.Url( |
127 r'^site/settings/edit$', |
132 r'^site/settings/edit$', |
128 'soc.views.site.settings.edit', |
133 'soc.views.site.settings.edit', |
129 kwargs={ |
134 kwargs={ |
130 'path': models.site_settings.logic.DEF_SITE_SETTINGS_PATH, |
135 'path': models.site_settings.logic.DEF_SITE_SETTINGS_PATH, |
131 'logic': models.site_settings.logic, |
136 'logic': models.site_settings.logic, |
132 }), |
137 }), |
133 'Site: Settings', |
138 'Site: Settings', |
134 short_name='Site Settings', |
139 short_name='Edit Site Settings', |
135 parent=site_sub_menu) |
140 parent=site_settings_sub_menu) |
136 |
141 |
137 # Site User Profile views |
142 # Site User Profile views |
138 site_user_sub_menu = page.NonPage( |
143 site_user_sub_menu = page.NonPage( |
139 'site-user-sub-menu', |
144 'site-user-sub-menu', |
140 'Site: Users Sub-Menu', |
145 'Site: Users Sub-Menu', |