Beispiel #1
0
    def handle_api_sidebar(self, http_context):
        """
        Build sidebar.

        :param http_context: HttpContext
        :type http_context: HttpContext
        :return: All permitted sidebar items
        :rtype: dict
        """

        return {
            'sidebar': Sidebar.get(self.context).build(),
        }
Beispiel #2
0
 def handle_api_sidebar(self, http_context):
     return {
         'sidebar': Sidebar.get(self.context).build(),
     }
Beispiel #3
0
 def handle_api_sidebar(self, http_context):
     return {
         'sidebar': Sidebar.get(self.context).build(),
     }