From 10f594c7743aa81b4377bd7a747d2876fcafe5a8 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 6 Jan 2019 19:52:56 -0600 Subject: [PATCH] Minor tweaks --- tailbone/templates/mobile/master/index.mako | 1 + tailbone/views/customers.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tailbone/templates/mobile/master/index.mako b/tailbone/templates/mobile/master/index.mako index b4431b69..f54ac2ae 100644 --- a/tailbone/templates/mobile/master/index.mako +++ b/tailbone/templates/mobile/master/index.mako @@ -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')} +
% endif ${grid.render_complete()|n} diff --git a/tailbone/views/customers.py b/tailbone/views/customers.py index f29ce474..4e243f6c 100644 --- a/tailbone/views/customers.py +++ b/tailbone/views/customers.py @@ -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!