mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #1909 from alphagov/request-to-go-live-automation
Add a checklist to the request to go live page
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
{% macro tick_cross(yes, label) %}
|
||||
{% macro tick_cross(yes, label, truthy_hint='Can', falsey_hint='Can’t') %}
|
||||
<li>
|
||||
{% if yes %}
|
||||
<span class="tick-cross-tick">
|
||||
<span class="visually-hidden">Can</span>
|
||||
<span class="visually-hidden">{{ truthy_hint }}</span>
|
||||
{{ label}}
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="tick-cross-cross">
|
||||
<span class="visually-hidden">Can’t</span>
|
||||
<span class="visually-hidden">{{ falsey_hint }}</span>
|
||||
{{ label}}
|
||||
</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{% macro tick_cross_done_not_done(yes, label) %}
|
||||
{{ tick_cross(yes, label, truthy_hint='Done: ', falsey_hint='Not done: ') }}
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user