mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 17:28:24 -04:00
Bring back the tip banners
This commit is contained in:
@@ -23,11 +23,33 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% if not jobs %}
|
{% if not template_count and not jobs %}
|
||||||
{{ banner(
|
{{ banner(
|
||||||
'Send yourself a text message',
|
"""
|
||||||
|
<ol>
|
||||||
|
<li>
|
||||||
|
<a href='{}'>Add a template</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href='{}'>Send yourself a text message</a>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
""".format(
|
||||||
|
url_for(".add_service_template", service_id=service_id),
|
||||||
|
url_for(".choose_sms_template", service_id=service_id)
|
||||||
|
)|safe,
|
||||||
subhead='Get started',
|
subhead='Get started',
|
||||||
type='tip'
|
type="tip"
|
||||||
|
)}}
|
||||||
|
{% elif not jobs %}
|
||||||
|
{{ banner(
|
||||||
|
"""
|
||||||
|
<a href='{}'>Send yourself a text message</a>
|
||||||
|
""".format(
|
||||||
|
url_for(".choose_sms_template", service_id=service_id)
|
||||||
|
)|safe,
|
||||||
|
subhead='Next step',
|
||||||
|
type="tip"
|
||||||
)}}
|
)}}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% call(item) list_table(
|
{% call(item) list_table(
|
||||||
|
|||||||
Reference in New Issue
Block a user