diff --git a/src/argus/base/templates/base.html b/src/argus/base/templates/base.html index 93ec65477..5ddaf86e0 100644 --- a/src/argus/base/templates/base.html +++ b/src/argus/base/templates/base.html @@ -9,11 +9,13 @@ content="monitoring, notifications, dashboard, events, incidents, alerts, alarms, monitoring systems, monitoring applications, monitoring tools, monitoring software"> - {% block title %}Argus Server: {{ page_title }}{% endblock %} + {% block title %} + Argus Server: {{ page_title }} + {% endblock title %} {% block head %} {% endblock head %} - + {% block header %}

Argus Server: {{ page_title }}

{% endblock header %} diff --git a/src/argus/incident/templates/incident/admin/fake_incident_add_form.html b/src/argus/incident/templates/incident/admin/fake_incident_add_form.html index 0a99896b0..1d274149b 100644 --- a/src/argus/incident/templates/incident/admin/fake_incident_add_form.html +++ b/src/argus/incident/templates/incident/admin/fake_incident_add_form.html @@ -3,13 +3,17 @@ {% block extrahead %} {{ block.super }} -{% endblock %} +{% endblock extrahead %} {% block extrastyle %} {{ block.super }} -{% endblock %} -{% block coltype %}colM{% endblock %} -{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} +{% endblock extrastyle %} +{% block coltype %} + colM +{% endblock coltype %} +{% block bodyclass %} + {{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form +{% endblock bodyclass %} {% block breadcrumbs %} -{% endblock %} +{% endblock breadcrumbs %} {% block content %}
{% csrf_token %} - {% block form_top %}{% endblock %} + {% block form_top %} + {% endblock form_top %}
{% if errors %}

@@ -42,9 +47,11 @@ {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} - {% endblock %} - {% block after_field_sets %}{% endblock %} - {% block after_related_objects %}{% endblock %} + {% endblock field_sets %} + {% block after_field_sets %} + {% endblock after_field_sets %} + {% block after_related_objects %} + {% endblock after_related_objects %} {% block submit_buttons_bottom %}

- {% endblock %} + {% endblock submit_buttons_bottom %} {% block admin_change_form_document_ready %} - {% endblock %} + {% endblock admin_change_form_document_ready %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
-{% endblock %} +{% endblock content %} diff --git a/src/argus/incident/templates/incident/admin/incident_change_list.html b/src/argus/incident/templates/incident/admin/incident_change_list.html index d345fbe97..d61ee59f3 100644 --- a/src/argus/incident/templates/incident/admin/incident_change_list.html +++ b/src/argus/incident/templates/incident/admin/incident_change_list.html @@ -7,4 +7,4 @@ {% endif %} {{ block.super }} -{% endblock %} +{% endblock object-tools-items %}