From dc8adfc546b525c514d08d80e96aed0c651761d6 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Mon, 12 Jul 2021 10:57:26 -0400 Subject: [PATCH] Clean up object titles --- netbox/templates/base/layout.html | 2 +- netbox/templates/extras/object_changelog.html | 2 -- netbox/templates/extras/object_configcontext.html | 2 -- netbox/templates/extras/object_journal.html | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index c2d7eeb2a..66f4a9c7a 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -100,7 +100,7 @@ {# Title #}
{# Center-align title in object-edit views #} -

{% block title %}{% endblock title %}

+

{% block title %}{% endblock title %}

{# Controls #} diff --git a/netbox/templates/extras/object_changelog.html b/netbox/templates/extras/object_changelog.html index af65a9deb..9aee57a8a 100644 --- a/netbox/templates/extras/object_changelog.html +++ b/netbox/templates/extras/object_changelog.html @@ -1,7 +1,5 @@ {% extends base_template %} -{% block title %}{{ object }} - Change Log{% endblock %} - {% block content %} {% include 'inc/panel_table.html' %} {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %} diff --git a/netbox/templates/extras/object_configcontext.html b/netbox/templates/extras/object_configcontext.html index 408e0a64a..7edeeed27 100644 --- a/netbox/templates/extras/object_configcontext.html +++ b/netbox/templates/extras/object_configcontext.html @@ -2,8 +2,6 @@ {% load helpers %} {% load static %} -{% block title %}{{ block.super }} - Config Context{% endblock %} - {% block content %}
diff --git a/netbox/templates/extras/object_journal.html b/netbox/templates/extras/object_journal.html index 04cbfd3dd..7cbb70e49 100644 --- a/netbox/templates/extras/object_journal.html +++ b/netbox/templates/extras/object_journal.html @@ -1,8 +1,6 @@ {% extends base_template %} {% load form_helpers %} -{% block title %}{{ block.super }} - Journal{% endblock %} - {% render_errors form %} {% block content %}