From feb629f93309edbcd67e6f2c86b543249d61bb6e Mon Sep 17 00:00:00 2001 From: Micah Walter Date: Wed, 5 Jan 2022 11:21:05 -0500 Subject: [PATCH] Add URL to admin home page on logo and title --- admin_interface/templates/admin/base_site.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/admin_interface/templates/admin/base_site.html b/admin_interface/templates/admin/base_site.html index 8fd27a0..5c43cf5 100644 --- a/admin_interface/templates/admin/base_site.html +++ b/admin_interface/templates/admin/base_site.html @@ -67,14 +67,18 @@ flat-theme admin-interface {% get_admin_interface_theme as theme %}

{% if theme.logo_visible %} - {% if theme.logo %} - - {% else %} - - {% endif %} + + {% if theme.logo %} + + {% else %} + + {% endif %} + {% endif %} {% if theme.title_visible %} - {% if theme.title %}{% trans theme.title %}{% else %}{{ site_header|default:_('Django administration') }}{% endif %} + + {% if theme.title %}{% trans theme.title %}{% else %}{{ site_header|default:_('Django administration') }}{% endif %} + {% endif %}

{% endblock %}