Minor tweaks
This commit is contained in:
parent
c53170fe84
commit
10f594c774
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
% if master.mobile_creatable and request.has_perm('{}.create'.format(permission_prefix)):
|
% 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')}
|
${h.link_to("New {}".format(model_title), url('mobile.{}.create'.format(route_prefix)), class_='ui-btn ui-corner-all')}
|
||||||
|
<br />
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
${grid.render_complete()|n}
|
${grid.render_complete()|n}
|
||||||
|
|
|
@ -139,6 +139,7 @@ class CustomersView(MasterView):
|
||||||
g.set_link('number')
|
g.set_link('number')
|
||||||
g.set_link('name')
|
g.set_link('name')
|
||||||
g.set_link('person')
|
g.set_link('person')
|
||||||
|
g.set_link('email')
|
||||||
|
|
||||||
def get_mobile_data(self, session=None):
|
def get_mobile_data(self, session=None):
|
||||||
# TODO: hacky!
|
# TODO: hacky!
|
||||||
|
|
Loading…
Reference in a new issue