Minor tweaks

This commit is contained in:
Lance Edgar 2019-01-06 19:52:56 -06:00
parent c53170fe84
commit 10f594c774
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@
% if master.mobile_creatable and request.has_perm('{}.create'.format(permission_prefix)):
${h.link_to("New {}".format(model_title), url('mobile.{}.create'.format(route_prefix)), class_='ui-btn ui-corner-all')}
<br />
% endif
${grid.render_complete()|n}

View file

@ -139,6 +139,7 @@ class CustomersView(MasterView):
g.set_link('number')
g.set_link('name')
g.set_link('person')
g.set_link('email')
def get_mobile_data(self, session=None):
# TODO: hacky!