Overwriting current tab titles trial 1

This commit is contained in:
Rebecca Hsieh 2024-06-03 14:36:44 -07:00
parent 12c044d29a
commit 6bcbf9c170
No known key found for this signature in database

View file

@ -26,10 +26,25 @@
<script type="application/javascript" src="{% static 'js/dja-collapse.js' %}" defer></script>
{% endblock %}
{% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
{% block title %}
{% if subtitle %}
{{ subtitle }} |
{% endif %}
{% if title == "Audit log administration" %}
Audit log |
{% elif title == "Select log entry to change" %}
Log entries |
{% elif title == "Select log entry to view" %}
Log entries |
{% else %}
{{ title }} |
{% endif %}
{{ site_title|default:_('Django site admin') }}
{% endblock %}
{% block extrastyle %}{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'css/styles.css' %}" />
{% endblock %}
{% endblock %}
{% block header %}
{% if not IS_PRODUCTION %}