mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
- Removed links to the gov uk stylesheets
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
{%- endif %}
|
||||
</h1>
|
||||
<p class="govuk-body">
|
||||
In <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.trial_mode_new') }}">trial mode</a> you can only
|
||||
In <a class="usa-link" href="{{ url_for('.trial_mode_new') }}">trial mode</a> you can only
|
||||
send to yourself and members of your team
|
||||
</p>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<p class="govuk-body">
|
||||
You can only send {{ current_service.message_limit|format_thousands }} messages per day
|
||||
{%- if current_service.trial_mode %}
|
||||
in <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.trial_mode_new')}}">trial mode</a>
|
||||
in <a class="usa-link" href="{{ url_for('.trial_mode_new')}}">trial mode</a>
|
||||
{%- endif -%}
|
||||
.
|
||||
</p>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<p class="govuk-body">
|
||||
Sending
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.view_template_version', service_id=current_service.id, template_id=job.template.id, version=job.template_version) }}">{{ job.template.name }}</a>
|
||||
<a class="usa-link" href="{{ url_for('.view_template_version', service_id=current_service.id, template_id=job.template.id, version=job.template_version) }}">{{ job.template.name }}</a>
|
||||
{{ job.scheduled_for|format_datetime_relative }}
|
||||
</p>
|
||||
<div class="page-footer">
|
||||
@@ -30,7 +30,7 @@
|
||||
</p>
|
||||
{% elif notifications %}
|
||||
<p class="bottom-gutter">
|
||||
<a href="{{ download_link }}" download class="govuk-link govuk-link--no-visited-state heading-small">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||
<a href="{{ download_link }}" download class="usa-link heading-small">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||
 
|
||||
<span id="time-left">{{ time_left }}</span>
|
||||
</p>
|
||||
@@ -48,7 +48,7 @@
|
||||
field_headings_visible=False
|
||||
) %}
|
||||
{% call row_heading() %}
|
||||
<a class="govuk-link govuk-link--no-visited-state file-list-filename" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id, from_job=job.id) }}">{{ item.to }}</a>
|
||||
<a class="usa-link file-list-filename" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id, from_job=job.id) }}">{{ item.to }}</a>
|
||||
<p class="file-list-hint">
|
||||
{{ item.preview_of_content }}
|
||||
</p>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
Notify cannot send these messages because you have reached a limit. You can only send {{ current_service.message_limit|format_thousands }} messages per day and {{ 250000|format_thousands }} messages in total.
|
||||
</p>
|
||||
<p class="usa-error-message govuk-!-margin-bottom-6">
|
||||
Upload this spreadsheet again tomorrow or <a class="govuk-link" href="https://www.notifications.service.gov.uk/support">contact the Notify.gov team</a> to raise the limit.
|
||||
Upload this spreadsheet again tomorrow or <a class="usa-link" href="https://www.notifications.service.gov.uk/support">contact the Notify.gov team</a> to raise the limit.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% set status_url = notification.status|format_notification_status_as_url(notification.notification_type) %}
|
||||
<p class="notification-status {{ field_status }}">
|
||||
{% if status_url %}
|
||||
<a class="govuk-link govuk-link--destructive" href="{{ status_url }}">
|
||||
<a class="usa-link usa-link--destructive" href="{{ status_url }}">
|
||||
{% endif %}
|
||||
|
||||
{% if notification.status != 'sending' %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="heading-medium">Formatting</h2>
|
||||
<p class="govuk-body">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="heading-medium">Formatting</h2>
|
||||
<p class="bottom-gutter-1-3">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="font-body-lg">Links and URLs</h2>
|
||||
<p class="bottom-gutter-1-3">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="font-body-lg">
|
||||
Optional content
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="font-body-lg">
|
||||
Personalization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
|
||||
{% from "components/us_components/inset-text/macro.njk" import govukInsetText %}
|
||||
|
||||
<h2 class="heading-medium">
|
||||
Send a document by email
|
||||
@@ -11,4 +11,4 @@
|
||||
"classes": "govuk-!-margin-top-0 govuk-!-margin-bottom-3"})
|
||||
}}
|
||||
|
||||
Next, use the API to upload your document. Follow the instructions to send a document by email in the <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.documentation') }}">API documentation</a>.
|
||||
Next, use the API to upload your document. Follow the instructions to send a document by email in the <a class="usa-link" href="{{ url_for('main.documentation') }}">API documentation</a>.
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
Notify delivers the message
|
||||
</p>
|
||||
{% if help == '3' %}
|
||||
<a class="govuk-link govuk-link--no-visited-state" href='{{ url_for(".go_to_dashboard_after_tour", service_id=current_service.id, example_template_id=template.id) }}'>
|
||||
<a class="usa-link" href='{{ url_for(".go_to_dashboard_after_tour", service_id=current_service.id, example_template_id=template.id) }}'>
|
||||
Now go to your dashboard
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user