Don't show priority for inactive providers

This is consistent with not being able to set it either. I think
it's OK to not have a test for this as it's purely cosmetic.
This commit is contained in:
Ben Thorner
2022-04-06 18:15:19 +01:00
parent 0437e4a248
commit efea27d433

View File

@@ -25,7 +25,7 @@ Providers
{{ link_field(item.display_name, url_for('main.view_provider', provider_id=item.id)) }}
{{ text_field(item.priority) }}
{{ optional_text_field(item.priority if item.active, default='None') }}
{{ text_field(item.monthly_traffic) }}