first commit
This commit is contained in:
13
templates/Kernel/partials/_empty_state.twig
Normal file
13
templates/Kernel/partials/_empty_state.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="empty-state">
|
||||
{% if title is defined and title %}
|
||||
<h3 class="empty-state__title">{{ title }}</h3>
|
||||
{% endif %}
|
||||
|
||||
<p class="empty-state__message">{{ message }}</p>
|
||||
|
||||
{% if action_href is defined and action_href and action_label is defined and action_label %}
|
||||
<div class="empty-state__actions">
|
||||
<a href="{{ action_href }}" class="btn btn--secondary">{{ action_label }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user