version 0.2.0 replaces fromer version!
This commit is contained in:
9
adapters/django/templates/whynot/_empty_state.html
Normal file
9
adapters/django/templates/whynot/_empty_state.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{# Empty state.
|
||||
|
||||
{% include "whynot/_empty_state.html" with icon="activity" title="No signals yet." body="Lack of signal is also information." cta_label="Record a signal" cta_href="/signals/new/" %} #}
|
||||
<wn-empty-state{% if icon %} icon="{{ icon }}"{% endif %}{% if title %} title="{{ title }}"{% endif %}>
|
||||
{{ body }}
|
||||
{% if cta_label %}
|
||||
<wn-button slot="cta" variant="primary"{% if cta_href %} href="{{ cta_href }}"{% endif %}>{{ cta_label }}</wn-button>
|
||||
{% endif %}
|
||||
</wn-empty-state>
|
||||
Reference in New Issue
Block a user