Reorganize macros into separate component files

Replace a few old UI Module instances with  macros
This commit is contained in:
Andrew Croce
2018-08-03 10:35:04 -04:00
parent a7eb915771
commit 5e8183aaf1
29 changed files with 198 additions and 298 deletions

View File

@@ -1,15 +1,17 @@
{% extends "base_workspace.html.to" %}
{% from "components/empty_state.html" import EmptyState %}
{% block workspace_content %}
{% if not members %}
{% module EmptyState(
{{ EmptyState(
'There are currently no members in this Workspace.',
actionLabel='Invite a new Member',
actionHref='/members/new',
icon='avatar'
)%}
) }}
{% else %}