diff --git a/templates/components/empty_state.html b/templates/components/empty_state.html index 7dc6f119..b0aaa038 100644 --- a/templates/components/empty_state.html +++ b/templates/components/empty_state.html @@ -1,13 +1,20 @@ {% from "components/icon.html" import Icon %} -{% macro EmptyState(message, actionLabel, actionHref, icon=None) -%} +{% macro EmptyState(message, action_label, action_href, icon=None, sub_message=None) -%}
{{ message }}
+ {% if icon %} {{ Icon(icon) }} {% endif %} - {{ actionLabel }} + {% if sub_message %} + + {% endif %} + + {% if action_href and action_label %} + {{ action_label }} + {% endif %} +