diff --git a/README.md b/README.md index 9ce30bd830ced7099b303a049140fef40502c45b..f253179390e646ece34570c657eecaae51afbeee 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,10 @@ jako přehled pluginů a rozšíření pro Wagtail. ├── senat_campaign = app na weby kandidátů na senátory ... ├── majak = Django projekt s konfigurací Majáku - ├── shared = app se sdílenými static soubory a templaty + ├── shared = app se sdílenými static soubory a templaty pro weby ├── calendar_utils = app s modelem a utilitami na iCal kalendáře ├── search = app pro fulltext search (default, asi se k ničemu nepoužívá) + ├── tuning = app na tuning administračního rozhraní Majáku └── users = app s custom user modelem a SSO, apod. ### Kalendáře diff --git a/majak/templates/wagtailadmin/admin_base.html b/tuning/templates/wagtailadmin/admin_base.html similarity index 100% rename from majak/templates/wagtailadmin/admin_base.html rename to tuning/templates/wagtailadmin/admin_base.html diff --git a/majak/templates/wagtailadmin/base.html b/tuning/templates/wagtailadmin/base.html similarity index 100% rename from majak/templates/wagtailadmin/base.html rename to tuning/templates/wagtailadmin/base.html diff --git a/users/templates/wagtailadmin/login.html b/tuning/templates/wagtailadmin/login.html similarity index 100% rename from users/templates/wagtailadmin/login.html rename to tuning/templates/wagtailadmin/login.html diff --git a/tuning/wagtail_hooks.py b/tuning/wagtail_hooks.py index 4aaafaaca2b63cb7ad21b0d459e1506ca7560edb..c33d9bb0b17631fa6fd62d5c1b30179203fc7a55 100644 --- a/tuning/wagtail_hooks.py +++ b/tuning/wagtail_hooks.py @@ -2,7 +2,7 @@ from django.utils.safestring import mark_safe from wagtail.core import hooks -class WelcomePanel: +class HelpPanel: order = 1000 def render(self): @@ -19,4 +19,4 @@ class WelcomePanel: @hooks.register("construct_homepage_panels") def add_another_welcome_panel(request, panels): - panels.append(WelcomePanel()) + panels.append(HelpPanel())