Send URL for viewing employee, along to profile page template
This commit is contained in:
parent
61df7745c6
commit
dd773d4e5e
|
@ -246,6 +246,7 @@ class PeopleView(MasterView):
|
|||
'instance': person,
|
||||
'instance_title': self.get_instance_title(person),
|
||||
'employee': employee,
|
||||
'employee_view_url': self.request.route_url('employees.view', uuid=employee.uuid) if employee else None,
|
||||
'employee_history': employee.get_current_history() if employee else None,
|
||||
'employee_history_data': self.get_context_employee_history(employee),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue