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!