Add some links to employees grid

This commit is contained in:
Lance Edgar 2017-08-08 13:02:57 -05:00
parent 9335381560
commit e91f18f344

View file

@ -100,6 +100,10 @@ class EmployeesView(MasterView):
g.set_label('phone', "Phone Number")
g.set_label('email', "Email Address")
g.set_link('id')
g.set_link('first_name')
g.set_link('last_name')
if not self.request.has_perm('employees.edit'):
g.hide_column('id')
g.hide_column('status')