EmptyState UI module
This commit is contained in:
committed by
richard-dds
parent
6ee71113c7
commit
34c570ab18
@@ -46,3 +46,12 @@ class SidenavItem(UIModule):
|
||||
active=active,
|
||||
icon=icon,
|
||||
subnav=subnav)
|
||||
|
||||
class EmptyState(UIModule):
|
||||
def render(self, message, actionLabel, actionHref, icon=None):
|
||||
return self.render_string(
|
||||
"components/empty_state.html.to",
|
||||
message=message,
|
||||
actionLabel=actionLabel,
|
||||
actionHref=actionHref,
|
||||
icon=icon)
|
||||
|
||||
Reference in New Issue
Block a user