Add temporary link to change priority page

Lets you get to the new page without having to think about the design
of the existing index page.
This commit is contained in:
Chris Hill-Scott
2019-12-04 10:30:40 +00:00
parent 8122fa1d5d
commit 57a602c2ab
2 changed files with 5 additions and 7 deletions

View File

@@ -12,6 +12,8 @@ Providers
<h2 class="heading-medium">SMS</h2>
<a href="{{ url_for('main.edit_sms_provider_ratio') }}">Change priority</a>
{% call(item, row_number) list_table(
domestic_sms_providers,
caption="Domestic SMS providers",
@@ -21,7 +23,7 @@ Providers
field_headings_visible=True
) %}
{{ link_field(item.display_name, url_for('main.view_provider', provider_id=item.id)) }}
{{ text_field(item.display_name) }}
{{ text_field(item.priority) }}
@@ -37,8 +39,6 @@ Providers
{{ optional_text_field(item.created_by_name, default='None') }}
{{ link_field('change', url_for('main.edit_provider', provider_id=item.id)) }}
{% endcall %}
<h2 class="heading-medium">Email</h2>