mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-01 20:10:16 -04:00
One of the big things we found in user research was that people were uncertain what the effect of giving someone basic view was. So in the spirit of ‘show don’t tell’, this commit adds a way for users to preview basic view. They can go into the preview and click around as much as they like, just as if they really had the basic view assigned to them. Once they have seen enough they can return to the settings page where they can decide whether or not to switch basic view on for real.
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{% extends "admin_template.html" %}
|
||
|
||
{% block per_page_title %}
|
||
{% block service_page_title %}{% endblock %} – {{ current_service.name }}
|
||
{% endblock %}
|
||
|
||
{% block fullwidth_content %}
|
||
<div id="content">
|
||
<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>
|
||
<div class="grid-row">
|
||
{% if help %}
|
||
<div class="column-one-third">
|
||
{% else %}
|
||
<div class="column-one-quarter">
|
||
{% endif %}
|
||
{% include "main_nav.html" %}
|
||
</div>
|
||
{% if help %}
|
||
<main role="main" class="column-two-thirds column-main">
|
||
{% else %}
|
||
<main role="main" class="column-three-quarters column-main">
|
||
{% endif %}
|
||
{% include 'flash_messages.html' %}
|
||
{% block maincolumn_content %}{% endblock %}
|
||
</main>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|