From 774ac17ee97eca8e8d7242855b4db974b562494d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 17 Mar 2016 13:44:33 +0000 Subject: [PATCH] Add a help page that explains trial mode > 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 --- app/main/views/index.py | 5 ++ app/templates/admin_template.html | 1 + app/templates/views/help.html | 79 +++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 app/templates/views/help.html diff --git a/app/main/views/index.py b/app/main/views/index.py index a37968740..47780a1e7 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -21,3 +21,8 @@ def verify_mobile(): @main.route('/cookies') def cookies(): return render_template('views/cookies.html') + + +@main.route('/help') +def help(): + return render_template('views/help.html') diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index 846ee2a91..666add0bb 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -74,6 +74,7 @@ {% block footer_support_links %}