equal
deleted
inserted
replaced
85 |
85 |
86 params = dicts.merge(params, new_params) |
86 params = dicts.merge(params, new_params) |
87 |
87 |
88 super(View, self).__init__(params=params) |
88 super(View, self).__init__(params=params) |
89 |
89 |
90 def getSidebarMenus(self, request, params=None): |
90 def getSidebarMenus(self, params=None): |
91 """See base.View.getSidebarMenus. |
91 """See base.View.getSidebarMenus. |
92 |
92 |
93 Returns a custom sidebar entry for the 'site' singleton. |
93 Returns a custom sidebar entry for the 'site' singleton. |
94 """ |
94 """ |
95 |
95 |
102 |
102 |
103 new_params = {} |
103 new_params = {} |
104 new_params['sidebar_additional'] = submenus |
104 new_params['sidebar_additional'] = submenus |
105 |
105 |
106 params = dicts.merge(params, new_params) |
106 params = dicts.merge(params, new_params) |
107 return super(View, self).getSidebarMenus(request, params=params) |
107 return super(View, self).getSidebarMenus(params=params) |
108 |
108 |
109 def mainPublic(self, request, page_name=None, **kwargs): |
109 def mainPublic(self, request, page_name=None, **kwargs): |
110 """Displays the main site settings page. |
110 """Displays the main site settings page. |
111 |
111 |
112 Args: |
112 Args: |