Fix app_title reference in mobile templates

This commit is contained in:
Lance Edgar 2018-11-30 15:32:59 -06:00
parent 6022ef9be3
commit 3bc0ba73ee

View file

@ -1,11 +1,12 @@
## -*- coding: utf-8 -*- ## -*- coding: utf-8 -*-
<%inherit file="/mobile/base.mako" /> <%inherit file="/mobile/base.mako" />
<%namespace name="base_meta" file="/base_meta.mako" />
<%def name="title()">Home</%def> <%def name="title()">Home</%def>
<%def name="page_title()"></%def> <%def name="page_title()"></%def>
<div style="text-align: center;"> <div style="text-align: center;">
${h.image(image_url, "{} logo".format(capture(self.app_title)), id='logo', width=300)} ${h.image(image_url, "{} logo".format(capture(base_meta.app_title)), id='logo', width=300)}
<h3>Welcome to ${self.app_title()}</h3> <h3>Welcome to ${base_meta.app_title()}</h3>
</div> </div>