mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Merge pull request #608 from alphagov/platform-admin-dashboard
New platform admin page
This commit is contained in:
@@ -10,14 +10,6 @@
|
||||
<h1 class="heading-large">
|
||||
Choose service
|
||||
</h1>
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
{{ browse_list([
|
||||
{
|
||||
'title': 'List all services',
|
||||
'link': url_for('.show_all_services')
|
||||
}
|
||||
]) }}
|
||||
{% endif %}
|
||||
|
||||
{{ browse_list(services) }}
|
||||
{{ browse_list([
|
||||
|
||||
25
app/templates/views/platform-admin.html
Normal file
25
app/templates/views/platform-admin.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
{% from "components/browse-list.html" import browse_list %}
|
||||
|
||||
{% block page_title %}
|
||||
Platform admin – GOV.UK Notify
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">
|
||||
Platform admin
|
||||
</h1>
|
||||
|
||||
{{ browse_list([
|
||||
{
|
||||
'title': 'List all services',
|
||||
'link': url_for('.show_all_services')
|
||||
},
|
||||
{
|
||||
'title': 'View providers',
|
||||
'link': url_for('.view_providers')
|
||||
},
|
||||
]) }}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user