Reorganize macros into separate component files
Replace a few old UI Module instances with macros
This commit is contained in:
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user