mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-01 04:05:10 -04:00
20 lines
841 B
HTML
20 lines
841 B
HTML
|
|
{% from "components/banner.html" import banner_wrapper %}
|
||
|
|
|
||
|
|
<h2 class="heading-medium">Get started</h2>
|
||
|
|
<ol class="grid-row">
|
||
|
|
{% if current_user.has_permissions(['manage_templates']) %}
|
||
|
|
<li class="column-half">
|
||
|
|
{% call banner_wrapper(type="tip", subhead='1.' if not templates else None, with_tick=templates|length) %}
|
||
|
|
<a href='{{ url_for(".add_service_template", service_id=service_id, template_type="sms") }}'>Add a template</a>
|
||
|
|
{% endcall %}
|
||
|
|
</li>
|
||
|
|
{% endif %}
|
||
|
|
{% if current_user.has_permissions(['send_texts', 'send_emails', 'send_letters']) %}
|
||
|
|
<li class="column-half">
|
||
|
|
{% call banner_wrapper(type="tip", subhead='2.') %}
|
||
|
|
<a href='{{ url_for(".choose_template", service_id=service_id, template_type="sms") }}'>Send yourself a message</a>
|
||
|
|
{% endcall %}
|
||
|
|
</li>
|
||
|
|
{% endif %}
|
||
|
|
</ol>
|