mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-15 23:01:00 -04:00
After the tour we should ground users by dropping them on the dashboard. In the background, we delete the example text message template. This means that users start from a clean slate when they go to add their own templates This also means some wording changes to the tour so it still makes (some) sense: - 1, 2 and 3 should refer to the current step, not describe the next one - the link should take you to the dashboard - change from ‘Get started’ to ‘Try this example’ because we’re using ‘Get started on the dashboard’
66 lines
2.8 KiB
HTML
66 lines
2.8 KiB
HTML
{% from "components/banner.html" import banner_wrapper %}
|
|
|
|
{% if request.args['help'] and request.args['help'] != '0' %}
|
|
{% call banner_wrapper(type='tour') %}
|
|
<p class="heading-medium">Try this example</p>
|
|
<div class="grid-row bottom-gutter" {% if request.args['help'] != '1' %}style="opacity: 0.6"{% endif %}>
|
|
<div class="column-one-sixth">
|
|
<p class="heading-large" style="float: left;">1.</p>
|
|
</div>
|
|
<div class="column-five-sixths">
|
|
<p>
|
|
Every message is sent from a template
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="grid-row bottom-gutter" {% if request.args['help'] != '2' %}style="opacity: 0.6"{% endif %}>
|
|
<div class="column-one-sixth">
|
|
<p class="heading-large">2.</p>
|
|
</div>
|
|
<div class="column-five-sixths">
|
|
<p>
|
|
The template pulls in the data you provide
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="grid-row bottom-gutter" {% if request.args['help'] != '3' %}style="opacity: 0.6"{% endif %}>
|
|
<div class="column-one-sixth">
|
|
<p class="heading-large">3.</p>
|
|
</div>
|
|
<div class="column-five-sixths">
|
|
<p>
|
|
Notify delivers the message
|
|
</p>
|
|
{% if request.args['help'] == '3' %}
|
|
<a href='{{ url_for(".go_to_dashboard_after_tour", service_id=current_service.id, example_template_id=template.id) }}'>
|
|
Now go to your dashboard
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endcall %}
|
|
{% else %}
|
|
<nav class="navigation">
|
|
<h2 class="navigation-service-name">
|
|
{{ current_service.name }}
|
|
</h2>
|
|
<ul>
|
|
<li><a href="{{ url_for('.service_dashboard', service_id=current_service.id) }}">Dashboard</a></li>
|
|
{% if current_user.has_permissions(['view_activity', 'manage_templates', 'manage_api_keys'], admin_override=True, any_=True) %}
|
|
<li><a href="{{ url_for('.choose_template', service_id=current_service.id, template_type='email') }}">Email templates</a></li>
|
|
<li><a href="{{ url_for('.choose_template', service_id=current_service.id, template_type='sms') }}">Text message templates</a></li>
|
|
{% endif %}
|
|
{% if current_user.has_permissions(['manage_users', 'manage_settings'], admin_override=True) %}
|
|
<li><a href="{{ url_for('.manage_users', service_id=current_service.id) }}">Team members</a></li>
|
|
<li><a href="{{ url_for('.service_settings', service_id=current_service.id) }}">Settings</a></li>
|
|
{% elif current_user.has_permissions(['view_activity']) %}
|
|
<li><a href="{{ url_for('.manage_users', service_id=current_service.id) }}">Team members</a></li>
|
|
{% endif %}
|
|
{% if current_user.has_permissions(['manage_api_keys']) %}
|
|
<li><a href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</nav>
|
|
{% endif %}
|