Add some links to employees grid
This commit is contained in:
parent
9335381560
commit
e91f18f344
|
@ -100,6 +100,10 @@ class EmployeesView(MasterView):
|
||||||
g.set_label('phone', "Phone Number")
|
g.set_label('phone', "Phone Number")
|
||||||
g.set_label('email', "Email Address")
|
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'):
|
if not self.request.has_perm('employees.edit'):
|
||||||
g.hide_column('id')
|
g.hide_column('id')
|
||||||
g.hide_column('status')
|
g.hide_column('status')
|
||||||
|
|
Loading…
Reference in a new issue