mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:09:49 -04:00
Remove basic view setting and preview
This commit is contained in:
@@ -46,18 +46,6 @@
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% call settings_row(if_has_permission='caseworking') %}
|
||||
{{ text_field('Basic view') }}
|
||||
{{ boolean_field('caseworking' in current_service.permissions) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.service_set_basic_view',
|
||||
service_id=current_service.id),
|
||||
permissions=['manage_service']
|
||||
)
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% call settings_row(if_has_permission='upload_document') %}
|
||||
{{ text_field('Contact link') }}
|
||||
{{ text_field(current_service.contact_link, truncate=true) }}
|
||||
@@ -372,11 +360,6 @@
|
||||
{{ 'Stop user auth type editing' if 'email_auth' in current_service.permissions else 'Allow user auth type editing' }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="bottom-gutter">
|
||||
<a href="{{ url_for('.service_set_basic_view', service_id=current_service.id) }}" class="button">
|
||||
Set basic view
|
||||
</a>
|
||||
</li>
|
||||
<li class="bottom-gutter">
|
||||
<a href="{{ url_for('.service_switch_can_upload_document', service_id=current_service.id) }}" class="button">
|
||||
{{ 'Stop uploading documents' if 'upload_document' in current_service.permissions else 'Allow to upload documents' }}
|
||||
|
||||
Reference in New Issue
Block a user