示例#1
0
 def breadCrumbs(self, terminator='dmd'):
     """Return the breadcrumb links for this object add ActionRules list.
     [('url','id'), ...]
     """
     from RRDTemplate import crumbspath
     crumbs = super(RRDDataSource, self).breadCrumbs(terminator)
     return crumbspath(self.rrdTemplate(), crumbs, -2)
示例#2
0
 def breadCrumbs(self, terminator='dmd'):
     """Return the breadcrumb links for this object add ActionRules list.
     [('url','id'), ...]
     """
     from RRDTemplate import crumbspath
     crumbs = super(RRDDataSource, self).breadCrumbs(terminator)
     return crumbspath(self.rrdTemplate(), crumbs, -2)
 def breadCrumbs(self, terminator='dmd'):
     """Return the breadcrumb links for this object add ActionRules list.
     [('url','id'), ...]
     """
     if self.rrdTemplate():
         from RRDTemplate import crumbspath
         crumbs = super(GraphDefinition, self).breadCrumbs(terminator)
         return crumbspath(self.rrdTemplate(), crumbs, -2)
     return ZenModelRM.breadCrumbs(self, terminator)
示例#4
0
 def breadCrumbs(self, terminator='dmd'):
     """Return the breadcrumb links for this object add ActionRules list.
     [('url','id'), ...]
     """
     if self.rrdTemplate():
         from RRDTemplate import crumbspath
         crumbs = super(GraphDefinition, self).breadCrumbs(terminator)
         return crumbspath(self.rrdTemplate(), crumbs, -2)
     return ZenModelRM.breadCrumbs(self, terminator)