mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Display contact link on service settings page
The contact link for the service now gets displayed on the service settings page if the service has the 'upload_document' permission. There are no changes to the appearance of the service settings page if a service does not have the 'upload_document' permission.
This commit is contained in:
@@ -46,6 +46,20 @@
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% if 'upload_document' in current_service.permissions %}
|
||||
{% call row() %}
|
||||
{{ text_field('Contact link') }}
|
||||
{{ text_field(current_service.contact_link) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.service_set_contact_link',
|
||||
service_id=current_service.id),
|
||||
permissions=['manage_service']
|
||||
)
|
||||
}}
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
|
||||
{% endcall %}
|
||||
|
||||
{% call mapping_table(
|
||||
|
||||
Reference in New Issue
Block a user