mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 15:28:50 -04:00
Redirect to the templates page after the tour
When you’re dropped straight into the ‘edit template’ page it’s still a bit confusing what the thing you’re typing is—the mental model isn’t quite there yet. I think it will help (rather than redirect to the dashboard) to redirect to the choose template page. You can then choose to edit the example or add your own template. This should help people understand that the example is one of a number of templates that you create.
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
</p>
|
||||
{% if request.args['help'] == '3' %}
|
||||
{% if first_email_template %}
|
||||
<a href='{{ url_for(".edit_service_template", service_id=current_service.id, template_id=first_email_template.id) }}'>
|
||||
<a href='{{ url_for(".choose_template", service_id=current_service.id, template_type="email") }}'>
|
||||
Write an email
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href='{{ url_for(".edit_service_template", service_id=current_service.id, template_id=template.id) }}'>
|
||||
<a href='{{ url_for(".choose_template", service_id=current_service.id, template_type="sms") }}'>
|
||||
Write a text message
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user