web/views/actions.py
branchtls-sprint
changeset 1091 b5e253c0dd13
parent 870 0b31dbac6459
child 1132 96752791c2b6
equal deleted inserted replaced
1090:a99dc223c583 1091:b5e253c0dd13
   264     id = 'manage'
   264     id = 'manage'
   265     title = _('manage')
   265     title = _('manage')
   266     order = 20
   266     order = 20
   267 
   267 
   268 
   268 
   269 class ViewSchemaAction(Action):
       
   270     id = 'schema'
       
   271     __select__ = yes()
       
   272     
       
   273     title = _("site schema")
       
   274     category = 'siteactions'
       
   275     order = 30
       
   276     
       
   277     def url(self):
       
   278         return self.build_url(self.id)
       
   279 
       
   280 
       
   281 from logilab.common.deprecation import class_moved
   269 from logilab.common.deprecation import class_moved
   282 from cubicweb.web.views.bookmark import FollowAction
   270 from cubicweb.web.views.bookmark import FollowAction
   283 FollowAction = class_moved(FollowAction)
   271 FollowAction = class_moved(FollowAction)