web/views/tabs.py
branchstable
changeset 3845 596044fb7bc5
parent 3844 c2625c512085
child 3849 afba6d304e71
equal deleted inserted replaced
3844:c2625c512085 3845:596044fb7bc5
   186     default_tab = 'main_tab'
   186     default_tab = 'main_tab'
   187 
   187 
   188     def cell_call(self, row, col):
   188     def cell_call(self, row, col):
   189         entity = self.complete_entity(row, col)
   189         entity = self.complete_entity(row, col)
   190         self.render_entity_title(entity)
   190         self.render_entity_title(entity)
       
   191         self.render_entity_toolbox(entity)
   191         self.render_tabs(self.tabs, self.default_tab, entity)
   192         self.render_tabs(self.tabs, self.default_tab, entity)
   192 
   193 
   193 
   194 
   194 class PrimaryTab(primary.PrimaryView):
   195 class PrimaryTab(primary.PrimaryView):
   195     id = 'main_tab'
   196     id = 'main_tab'
   198     def is_primary(self):
   199     def is_primary(self):
   199         return True
   200         return True
   200 
   201 
   201     def render_entity_title(self, entity):
   202     def render_entity_title(self, entity):
   202         pass
   203         pass
   203 
   204     def render_entity_toolbox(self, entity):
   204     def render_entity_metadata(self, entity):
       
   205         pass
   205         pass
   206