From 520940bc81f3be9dda933a10e842591a03704ea3 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 29 Nov 2018 01:56:03 -0600 Subject: [PATCH] Delete 'bobcat' theme override core bobcat theme now supports simple menus natively --- .../web/templates/themes/bobcat/base.mako | 7 -- .../web/templates/themes/bobcat/menu.mako | 97 ------------------- 2 files changed, 104 deletions(-) delete mode 100644 rattail_demo/web/templates/themes/bobcat/base.mako delete mode 100644 rattail_demo/web/templates/themes/bobcat/menu.mako diff --git a/rattail_demo/web/templates/themes/bobcat/base.mako b/rattail_demo/web/templates/themes/bobcat/base.mako deleted file mode 100644 index 2de6cc6..0000000 --- a/rattail_demo/web/templates/themes/bobcat/base.mako +++ /dev/null @@ -1,7 +0,0 @@ -## -*- coding: utf-8; -*- -<%inherit file="tailbone:templates/themes/bobcat/base.mako" /> - -## NOTE: we must define this base template even though we just -## inherit from upstream bobcat! - -${parent.body()} diff --git a/rattail_demo/web/templates/themes/bobcat/menu.mako b/rattail_demo/web/templates/themes/bobcat/menu.mako deleted file mode 100644 index 5cd4fe3..0000000 --- a/rattail_demo/web/templates/themes/bobcat/menu.mako +++ /dev/null @@ -1,97 +0,0 @@ -## -*- coding: utf-8; -*- - -<%def name="make_simple_menu()"> - - - - - -<%def name="main_menu_items()"> - - % if request.rattail_config.getbool('tailbone', 'menus.simple', default=False): - ${self.make_simple_menu()} - % else: - - - - - % endif -