class FlavorAllView(FlavorView): toolbar = FlavorToolBar() paginator = PaginationPane() including_entities = View.include(FlavorEntities, use_parent=True) @property def is_displayed(self): return (self.in_availability_zones and self.entities.title.text == 'Flavors')
class HostAggregatesAllView(HostAggregatesView): toolbar = HostAggregatesToolBar() paginator = PaginationPane() search = View.nested(Search) including_entities = View.include(HostAggregatesEntities, use_parent=True) @View.nested class my_filters(Accordion): # noqa ACCORDION_NAME = "My Filters" navigation = BootstrapNav('.//div/ul') tree = ManageIQTree() @property def is_displayed(self): return (self.in_host_aggregates and self.entities.title.text == 'Host Aggregates')
class FlavorAllView(FlavorView): toolbar = FlavorToolBar() paginator = PaginationPane() search = View.nested(Search) including_entities = View.include(FlavorEntities, use_parent=True) @View.nested class my_filters(Accordion): # noqa ACCORDION_NAME = "My Filters" navigation = BootstrapNav('.//div/ul') tree = ManageIQTree() @property def is_displayed(self): return (self.in_availability_zones and self.entities.title.text == 'Flavors')