mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 01:49:15 -04:00
22 lines
391 B
Python
22 lines
391 B
Python
from flask import render_template
|
|
|
|
from app.main import main
|
|
|
|
|
|
headings = [
|
|
'Trial mode',
|
|
'Start with templates',
|
|
'Add recipients',
|
|
'Send your messages',
|
|
]
|
|
|
|
|
|
@main.route("/tour/<int:page>")
|
|
def tour(page):
|
|
return render_template(
|
|
'views/tour/{}.html'.format(page),
|
|
current_page=page,
|
|
next_page=(page + 1),
|
|
heading=headings[page - 1]
|
|
)
|