Add all-services link for platform admin user on the choose-services page

This commit is contained in:
Rebecca Law
2016-03-21 16:06:48 +00:00
parent b9528d49c4
commit abef0ae793
2 changed files with 30 additions and 0 deletions

View File

@@ -10,6 +10,14 @@
<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([
@@ -19,4 +27,5 @@
},
]) }}
{% endblock %}