From e91f18f3441c01a5fb01c6cbb3cb7d704cec5518 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 8 Aug 2017 13:02:57 -0500 Subject: [PATCH] Add some links to employees grid --- tailbone/views/employees.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tailbone/views/employees.py b/tailbone/views/employees.py index 92119537..f02154c4 100644 --- a/tailbone/views/employees.py +++ b/tailbone/views/employees.py @@ -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')