mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 03:14:58 -04:00
This commit adds a 3 screen tour, similar to those used on GOV.UK Verify and Passports. We guerilla tested this on Friday, and it really helped users to build a mental model of how Notify works, so that when they’re playing around with it they have a greater sense of what they’re aiming to do. This makes concepts like templates and placeholders click more quickly. https://www.pivotaltracker.com/story/show/116710119
24 lines
765 B
HTML
24 lines
765 B
HTML
{% from "components/banner.html" import banner_wrapper %}
|
||
|
||
{% if current_user.has_permissions(['manage_templates']) %}
|
||
{% call banner_wrapper(type='tour') %}
|
||
<h2 class="heading-large">You’re ready to get started</h2>
|
||
<p>
|
||
<a href='{{ url_for(".add_service_template", service_id=service_id, template_type="sms") }}'>
|
||
Set up a text message template
|
||
</a>
|
||
</p>
|
||
<p>
|
||
<a href='{{ url_for(".add_service_template", service_id=service_id, template_type="email") }}'>
|
||
Set up an email template
|
||
</a>
|
||
</p>
|
||
{% endcall %}
|
||
{% else %}
|
||
{% call banner_wrapper(type='mode') %}
|
||
<p>
|
||
You need to ask your service manager to set up some templates before you can send messages
|
||
</p>
|
||
{% endcall %}
|
||
{% endif %}
|