mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
> We start in trial mode and there are a bunch of things that we need to know, so > let's explain this with a page, accessed from the footer. Not requiring log in. > Should explain: > 50 messages per day > Can only send to yourself or team members > How to go live > We can then link to this from the dashboard (and any other place) where we > tell you that you're in trial mode. https://www.pivotaltracker.com/story/show/115775751
29 lines
651 B
Python
29 lines
651 B
Python
from flask import render_template, url_for, redirect
|
|
from app.main import main
|
|
from flask_login import login_required
|
|
|
|
from flask.ext.login import current_user
|
|
|
|
|
|
@main.route('/')
|
|
def index():
|
|
if current_user and current_user.is_authenticated():
|
|
return redirect(url_for('main.choose_service'))
|
|
return render_template('views/signedout.html')
|
|
|
|
|
|
@main.route("/verify-mobile")
|
|
@login_required
|
|
def verify_mobile():
|
|
return render_template('views/verify-mobile.html')
|
|
|
|
|
|
@main.route('/cookies')
|
|
def cookies():
|
|
return render_template('views/cookies.html')
|
|
|
|
|
|
@main.route('/help')
|
|
def help():
|
|
return render_template('views/help.html')
|