mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-25 12:51:05 -05:00
This commit modifies the HTML `<title>` tags for all the pages. It makes two main changes: - make the title tag match the `<h1>` of the page, for better or worse - put the service name after the page title, seperated by an en dash, as per GOV.UK
66 lines
1.7 KiB
HTML
66 lines
1.7 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/table.html" import list_table, row, field %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block page_title %}
|
||
Manage users – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">Manage users</h1>
|
||
|
||
<p>
|
||
<a href="#" class="button">Invite users</a>
|
||
</p>
|
||
|
||
{% call(item) list_table(
|
||
users,
|
||
caption='Active users',
|
||
field_headings=['Name', 'Send messages', 'Manage Service', 'Manage API keys', 'Link to change'],
|
||
field_headings_visible=True,
|
||
caption_visible=True
|
||
) %}
|
||
{% call field() %}
|
||
{{ item.name }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_send_messages else "❌" }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_manage_service else "❌" }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_manage_api_keys else "❌" }}
|
||
{% endcall %}
|
||
{% call field(align='right') %}
|
||
<a href="#">Change</a>
|
||
{% endcall %}
|
||
{% endcall %}
|
||
|
||
{% call(item) list_table(
|
||
invited_users,
|
||
caption='Invited users',
|
||
field_headings=['Name', 'Send messages', 'Manage Service', 'Manage API keys', 'Link to change'],
|
||
field_headings_visible=True,
|
||
caption_visible=True
|
||
) %}
|
||
{% call field() %}
|
||
{{ item.email_localpart }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_send_messages else "❌" }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_manage_service else "❌" }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ "✔" if item.permission_manage_api_keys else "❌" }}
|
||
{% endcall %}
|
||
{% call field(align='right') %}
|
||
<a href="#">Change</a>
|
||
{% endcall %}
|
||
{% endcall %}
|
||
|
||
{% endblock %}
|