mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Merge pull request #380 from alphagov/svg-images-tour
Use SVG images for tour
This commit is contained in:
@@ -4,11 +4,20 @@ from flask_login import login_required
|
||||
from app.main import main
|
||||
|
||||
|
||||
headings = [
|
||||
'Trial mode',
|
||||
'Start with templates',
|
||||
'Add recipients',
|
||||
'Send your messages',
|
||||
]
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/tour/<int:page>")
|
||||
@login_required
|
||||
def tour(service_id, page):
|
||||
return render_template(
|
||||
'views/tour/{}.html'.format(page),
|
||||
current_page=page,
|
||||
next_page=(page + 1)
|
||||
next_page=(page + 1),
|
||||
heading=headings[page - 1]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user