mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-11 13:54:03 -05:00
15 lines
416 B
HTML
15 lines
416 B
HTML
{% macro tick_cross(yes, label, truthy_hint='Can', falsey_hint='Cannot') %}
|
|
{% if yes %}
|
|
<li>
|
|
<span class="tick-cross-tick">
|
|
<span class="usa-sr-only">{{ truthy_hint }}</span>
|
|
{{ label}}
|
|
</span>
|
|
</li>
|
|
{% endif %}
|
|
{% endmacro %}
|
|
|
|
{% macro tick_cross_done_not_done(yes, label) %}
|
|
{{ tick_cross(yes, label, truthy_hint='Done: ', falsey_hint='Not done: ') }}
|
|
{% endmacro %}
|