mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 16:20:19 -04:00
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:
@@ -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') %}
|
||||
|
||||
Reference in New Issue
Block a user