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)