Fix heading size on empty templates page

This is a special case which I missed when doing the rationalisation in
https://github.com/alphagov/notifications-admin/pull/2937
This commit is contained in:
Chris Hill-Scott
2019-04-30 16:07:05 +01:00
parent c8fe1fc715
commit d0d6421a91

View File

@@ -4,6 +4,7 @@
{% from "components/textbox.html" import textbox %}
{% from "components/live-search.html" import live_search %}
{% from "components/form.html" import form_wrapper %}
{% from "components/page-footer.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% extends "withnav_template.html" %}
@@ -11,18 +12,14 @@
{% set page_title = 'Templates' %}
{% block service_page_title %}
{{ page_title_folder_path(
template_folder_path,
fallback_page_title=page_title,
show_fallback_page_title=not current_service.all_template_folders
) }}
{{ page_title_folder_path(template_folder_path) }}
{% endblock %}
{% block maincolumn_content %}
{% if (not current_service.all_templates) and (not current_service.all_template_folders) %}
<h1 class="heading-large">
<h1 class="heading-medium">
{{ page_title }}
</h1>
{% if current_user.has_permissions('manage_templates') %}