mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-26 02:49:16 -04:00
Add new trial mode page
This commit is contained in:
@@ -60,11 +60,6 @@ def privacy():
|
||||
return render_template('views/privacy.html')
|
||||
|
||||
|
||||
@main.route('/trial-mode')
|
||||
def trial_mode():
|
||||
return redirect(url_for('.using_notify') + '#trial-mode', 301)
|
||||
|
||||
|
||||
@main.route('/pricing')
|
||||
def pricing():
|
||||
return render_template(
|
||||
@@ -293,6 +288,19 @@ def message_status():
|
||||
)
|
||||
|
||||
|
||||
@main.route('/trial-mode')
|
||||
def trial_mode():
|
||||
return redirect(url_for('.trial_mode_new'), 301)
|
||||
|
||||
|
||||
@main.route('/features/trial-mode')
|
||||
def trial_mode_new():
|
||||
return render_template(
|
||||
'views/trial-mode.html',
|
||||
navigation_links=features_nav()
|
||||
)
|
||||
|
||||
|
||||
# --- Redirects --- #
|
||||
|
||||
@main.route('/roadmap', endpoint='old_roadmap')
|
||||
|
||||
@@ -36,4 +36,8 @@ def features_nav():
|
||||
"name": "Message status",
|
||||
"link": "main.message_status",
|
||||
},
|
||||
{
|
||||
"name": "Trial mode",
|
||||
"link": "main.trial_mode_new",
|
||||
},
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<li>send messages to you and other people in your team</li>
|
||||
<li>create draft letters, but not send them</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<p>
|
||||
To remove these restrictions, you can
|
||||
{% if current_service and current_service.trial_mode %}
|
||||
@@ -33,13 +33,13 @@
|
||||
</p>
|
||||
|
||||
<p>Before you can request to go live, you must:</p>
|
||||
<ul class="list bullet-list">
|
||||
<ul class="list list-bullet">
|
||||
<li>sign our data sharing and financial agreement</li>
|
||||
<li>accept our terms of use</li>
|
||||
<li>set up your service so you're ready to send and receive messages</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user