From 1e5a42be69c3671343568074dfbb1c730836e606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Marti=CC=81n?= Date: Sun, 24 Aug 2014 12:56:24 +0200 Subject: [PATCH] Updated admin menu layout with the good names and icons. Updated admin title with page title (about time!) --- shelfzilla/settings/base.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/shelfzilla/settings/base.py b/shelfzilla/settings/base.py index 95aa0d5..7ab6d5e 100644 --- a/shelfzilla/settings/base.py +++ b/shelfzilla/settings/base.py @@ -224,3 +224,34 @@ FILER_STORAGES = { SOUTH_MIGRATION_MODULES = { 'easy_thumbnails': 'easy_thumbnails.south_migrations', } + +# +# ADMIN +# +SUIT_CONFIG = { + 'ADMIN_NAME': 'Shelfzilla', + 'SEARCH_URL': '', + 'MENU': ( + { + 'app': 'auth', + 'label': 'Authorization', + 'icon': 'icon-lock', + 'models': ('user', 'group') + }, + { + 'app': 'config', + 'label': 'Settings', + 'icon': 'icon-cog', + }, + { + 'app': 'manga', + 'label': 'Manga', + 'icon': 'icon-book', + }, + { + 'label': 'Files', + 'icon': 'icon-file', + 'app': 'filer', + }, + ), +}