From 602cc6f3348f6b1c7a97f445f343e0b82d2e6309 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Thu, 13 Jul 2023 00:55:09 +0100 Subject: [PATCH] Remove unused snippets _header_with_history.html --- CHANGELOG.txt | 1 + docs/releases/5.1.md | 1 + .../snippets/_header_with_history.html | 20 ------------------- 3 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 wagtail/snippets/templates/wagtailsnippets/snippets/_header_with_history.html diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d64992eac44e..4d523d27fe67 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -85,6 +85,7 @@ Changelog * Maintenance: Replace ModelAdmin history header human readable date template tag (LB (Ben) Johnston) * Maintenance: Update uuid to v9 and Jest to v29, with `jest-environment-jsdom` and new snapshot format (LB (Ben) Johnston) * Maintenance: Update test cases producing undesirable console output due to missing mocks, uncaught errors, warnings (LB (Ben) Johnston) + * Maintenance: Remove unused snippets _header_with_history.html template (Thibaud Colas) 5.0.2 (21.06.2023) diff --git a/docs/releases/5.1.md b/docs/releases/5.1.md index 3725e9193ec0..3e2d23e37192 100644 --- a/docs/releases/5.1.md +++ b/docs/releases/5.1.md @@ -128,6 +128,7 @@ As part of tackling Wagtail’s technical debt and improving [CSP compatibility] * Replace ModelAdmin history header human readable date template tag (LB (Ben) Johnston) * Update uuid to v9 and Jest to v29, with `jest-environment-jsdom` and new snapshot format (LB (Ben) Johnston) * Update test cases producing undesirable console output due to missing mocks, uncaught errors, warnings (LB (Ben) Johnston) + * Remove unused snippets _header_with_history.html template (Thibaud Colas) ## Upgrade considerations diff --git a/wagtail/snippets/templates/wagtailsnippets/snippets/_header_with_history.html b/wagtail/snippets/templates/wagtailsnippets/snippets/_header_with_history.html deleted file mode 100644 index c0b2cc36fc3a..000000000000 --- a/wagtail/snippets/templates/wagtailsnippets/snippets/_header_with_history.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "wagtailadmin/shared/header_with_locale_selector.html" %} -{% load wagtailadmin_tags i18n %} - -{% block extra_rows %} - {% if latest_log_entry %} -
- -
- {% endif %} -{% endblock %}