web/views/primary.py
branchstable
changeset 3845 596044fb7bc5
parent 3844 c2625c512085
child 3849 afba6d304e71
--- a/web/views/primary.py	Fri Nov 13 14:22:09 2009 +0100
+++ b/web/views/primary.py	Fri Nov 13 14:24:29 2009 +0100
@@ -45,6 +45,7 @@
 
     def render_entity(self, entity):
         self.render_entity_title(entity)
+        self.render_entity_toolbox(entity)
         # entity's attributes and relations, excluding meta data
         # if the entity isn't meta itself
         boxes = self._prepare_side_boxes(entity)
@@ -87,6 +88,9 @@
         if title:
             self.w(u'<h1>%s</h1>' % title)
 
+    def render_entity_toolbox(self, entity):
+        self.content_navigation_components('ctxtoolbar')
+
     def render_entity_metadata(self, entity):
         # XXX deprecated
         entity.view('metadata', w=self.w)