From b0a52dcec29d16b040ea60d3f68e90f30f3e5003 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 27 Nov 2018 18:20:56 -0600 Subject: [PATCH] Fix template references for app_title make sure we only look to /base_meta.mako for that --- rattail_demo/web/templates/mobile/base.mako | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rattail_demo/web/templates/mobile/base.mako b/rattail_demo/web/templates/mobile/base.mako index e3ef1c6..dbcb610 100644 --- a/rattail_demo/web/templates/mobile/base.mako +++ b/rattail_demo/web/templates/mobile/base.mako @@ -1,5 +1,6 @@ ## -*- coding: utf-8 -*- <%inherit file="tailbone:templates/mobile/base.mako" /> +<%namespace name="base_meta" file="/base_meta.mako" /> <%def name="mobile_usermenu()">
@@ -17,7 +18,7 @@
  • ${h.link_to("Products", url('mobile.products'))}
  • % endif
  • ${h.link_to("Logout", url('logout'), **{'data-ajax': 'false'})}
  • -
  • ${h.link_to("About {}".format(capture(self.app_title)), url('mobile.about'))}
  • +
  • ${h.link_to("About {}".format(capture(base_meta.app_title)), url('mobile.about'))}