From 7f12474e76e72654ed8ffd020f16b42e8fb0cab7 Mon Sep 17 00:00:00 2001 From: radex Date: Mon, 11 May 2020 20:26:59 +0200 Subject: [PATCH] some admin ux improvements --- storage/admin.py | 3 +++ storage/templates/item.html | 2 +- templates/base.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/storage/admin.py b/storage/admin.py index 144d32c..7c91eac 100644 --- a/storage/admin.py +++ b/storage/admin.py @@ -81,6 +81,9 @@ class ItemAdmin(StaffModelAdmin): return super(ItemAdmin, self).response_action(request, queryset) +admin.site.site_title = 'Hackerspace Storage Admin' +admin.site.site_header = 'Hackerspace Storage Admin' + admin.site.register(Item, ItemAdmin) admin.site.register(Category, StaffModelAdmin) diff --git a/storage/templates/item.html b/storage/templates/item.html index b5f5a88..81c1a46 100644 --- a/storage/templates/item.html +++ b/storage/templates/item.html @@ -2,7 +2,7 @@ {% block content %}