mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 13:19:49 -04: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):
|
def format_notification_status_as_url(status):
|
||||||
url = partial(url_for, "main.delivery_and_failure")
|
url = partial(url_for, "main.using_notify")
|
||||||
return {
|
return {
|
||||||
'technical-failure': url(_anchor='technical-failure'),
|
'technical-failure': url(_anchor='technical-failure'),
|
||||||
'temporary-failure': url(_anchor='not-accepting-messages'),
|
'temporary-failure': url(_anchor='not-accepting-messages'),
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ def create_api_key(service_id):
|
|||||||
disabled_options = [KEY_TYPE_NORMAL]
|
disabled_options = [KEY_TYPE_NORMAL]
|
||||||
option_hints = {KEY_TYPE_NORMAL: Markup(
|
option_hints = {KEY_TYPE_NORMAL: Markup(
|
||||||
'This option is not available because your service is in '
|
'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:
|
else:
|
||||||
disabled_options, option_hints = [], {}
|
disabled_options, option_hints = [], {}
|
||||||
|
|||||||
@@ -95,12 +95,11 @@
|
|||||||
<div class="column-one-third">
|
<div class="column-one-third">
|
||||||
<h2>About</h2>
|
<h2>About</h2>
|
||||||
<ul>
|
<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.features") }}">Features</a></li>
|
||||||
<li><a href="{{ url_for("main.roadmap") }}">Roadmap</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.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.pricing") }}">Pricing</a></li>
|
||||||
<li><a href="{{ url_for("main.delivery_and_failure") }}">Delivery and failure</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="column-one-third">
|
<div class="column-one-third">
|
||||||
|
|||||||
@@ -7,6 +7,6 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<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
|
send to yourself and members of your team
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<p>
|
<p>
|
||||||
You can only send {{ current_service.message_limit }} messages per day
|
You can only send {{ current_service.message_limit }} messages per day
|
||||||
{%- if current_service.restricted %}
|
{%- 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 -%}
|
{%- endif -%}
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
{{ 'this letter' if count_of_recipients == 1 else 'these letters' }}
|
{{ 'this letter' if count_of_recipients == 1 else 'these letters' }}
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<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
|
can only preview how your letters will look
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user