mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
15 lines
333 B
Python
15 lines
333 B
Python
|
|
from flask import render_template
|
||
|
|
from flask_login import login_required
|
||
|
|
|
||
|
|
from app.main import main
|
||
|
|
|
||
|
|
|
||
|
|
@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)
|
||
|
|
)
|