From dd773d4e5e393eabbcab3fa377bb03494ee0cad2 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 11 Jul 2019 15:17:25 -0500 Subject: [PATCH] Send URL for viewing employee, along to profile page template --- tailbone/views/people.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/views/people.py b/tailbone/views/people.py index a22b6eb9..925333d8 100644 --- a/tailbone/views/people.py +++ b/tailbone/views/people.py @@ -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), }