mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Adding Using Notify to the footer links
This commit is contained in:
committed by
Chris Hill-Scott
parent
f7ff745872
commit
7a7e71ce5d
@@ -377,7 +377,7 @@ def format_notification_status_as_field_status(status):
|
||||
|
||||
|
||||
def format_notification_status_as_url(status):
|
||||
url = partial(url_for, "main.delivery_and_failure")
|
||||
url = partial(url_for, "main.using_notify")
|
||||
return {
|
||||
'technical-failure': url(_anchor='technical-failure'),
|
||||
'temporary-failure': url(_anchor='not-accepting-messages'),
|
||||
|
||||
@@ -77,7 +77,7 @@ def create_api_key(service_id):
|
||||
disabled_options = [KEY_TYPE_NORMAL]
|
||||
option_hints = {KEY_TYPE_NORMAL: Markup(
|
||||
'This option is not available because your service is in '
|
||||
'<a href="{}">trial mode</a>'.format(url_for(".trial_mode"))
|
||||
'<a href="{}#trial-mode">trial mode</a>'.format(url_for(".using_notify"))
|
||||
)}
|
||||
else:
|
||||
disabled_options, option_hints = [], {}
|
||||
|
||||
@@ -95,12 +95,11 @@
|
||||
<div class="column-one-third">
|
||||
<h2>About</h2>
|
||||
<ul>
|
||||
<li><a href="{{ url_for("main.using_notify") }}">Using Notify</a></li>
|
||||
<li><a href="{{ url_for("main.features") }}">Features</a></li>
|
||||
<li><a href="{{ url_for("main.roadmap") }}">Roadmap</a></li>
|
||||
<li><a href="{{ url_for("main.terms") }}">Terms of use</a></li>
|
||||
<li><a href="{{ url_for("main.trial_mode") }}">Trial mode</a></li>
|
||||
<li><a href="{{ url_for("main.pricing") }}">Pricing</a></li>
|
||||
<li><a href="{{ url_for("main.delivery_and_failure") }}">Delivery and failure</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
{%- endif %}
|
||||
</h1>
|
||||
<p>
|
||||
In <a href="{{ url_for('.trial_mode') }}">trial mode</a> you can only
|
||||
In <a href="{{ url_for('.using_notify') }}#trial-mode">trial mode</a> you can only
|
||||
send to yourself and members of your team
|
||||
</p>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<p>
|
||||
You can only send {{ current_service.message_limit }} messages per day
|
||||
{%- if current_service.restricted %}
|
||||
in <a href="{{ url_for('.trial_mode')}}">trial mode</a>
|
||||
in <a href="{{ url_for('.using_notify')}}#trial-mode">trial mode</a>
|
||||
{%- endif -%}
|
||||
.
|
||||
</p>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
{{ 'this letter' if count_of_recipients == 1 else 'these letters' }}
|
||||
</h1>
|
||||
<p>
|
||||
In <a href="{{ url_for('.trial_mode') }}">trial mode</a> you
|
||||
In <a href="{{ url_for('.using_notify') }}#trial-mode">trial mode</a> you
|
||||
can only preview how your letters will look
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user