Skip to content

Commit a31c8e3

Browse files
authored
Fix: Compare view removed unnecessary template logic (#101)
1 parent 90b1171 commit a31c8e3

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44

55
Unreleased
66
==========
7+
* fix: Removed unused contents within templates, reducing the clutter within version compare views.
78

89
* fix: Snippet plugin added to a page now displays name instead of ID
910
* fix: Slug field on list display for admin should only be displayed when versioning is not available
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
1-
{% extends "admin/base_site.html" %}
2-
{% load static %}
31
{{ snippet.html|safe|escape }}
4-
5-
{% block extrastyle %}
6-
{{ block.super }}
7-
<link rel="stylesheet" type="text/css" href="{% static "admin/css/changelists.css" %}">
8-
{% endblock %}
9-
10-
{% block coltype %}flex{% endblock %}
11-
12-
{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock %}
13-
14-
{% block content %}
15-
{% autoescape off %}
16-
{{ snippet.html }}
17-
{% endautoescape %}
18-
{% endblock %}

0 commit comments

Comments
 (0)