mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -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' }}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Basic view
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<form method="post" class="column-five-sixths">
|
||||
<h1 class="heading-large">Basic view</h1>
|
||||
<p>
|
||||
Hide the dashboard and other options from team members who only need to send messages.
|
||||
</p>
|
||||
<p>
|
||||
Turn on basic view then edit team members’ permissions.
|
||||
</p>
|
||||
<p>
|
||||
Team members with basic view can only:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>send messages using existing templates</li>
|
||||
<li>see a list of sent messages</li>
|
||||
</ul>
|
||||
<p>
|
||||
<a href="{{ url_for('main.preview_basic_view', service_id=current_service.id) }}">See a preview of basic view</a>.
|
||||
</p>
|
||||
{{ radios(form.enabled, hide_legend=True) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -9,10 +9,6 @@
|
||||
<div class="navigation-service">
|
||||
<div class="navigation-service-name">
|
||||
{{ current_service.name }}
|
||||
{% if current_user.previewing_basic_view %}
|
||||
<span class="navigation-service-basic-view-preview">Preview of basic view</span>
|
||||
<a class="navigation-service-basic-view-back-link" href="{{ url_for('main.service_set_basic_view', service_id=current_service.id)}}">Back to settings</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user