From c0abd24c749e7ef45c2f4db649a8018a0b2364a1 Mon Sep 17 00:00:00 2001 From: xuechen5 <xuechen5@illinois.edu> Date: Fri, 27 Nov 2020 11:05:17 -0600 Subject: [PATCH] Frontend add link to deactivation button --- iTrust/WebRoot/auth/hcp-uap/viewPreRegisteredPatientList.jsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iTrust/WebRoot/auth/hcp-uap/viewPreRegisteredPatientList.jsp b/iTrust/WebRoot/auth/hcp-uap/viewPreRegisteredPatientList.jsp index e823d4d..863d293 100644 --- a/iTrust/WebRoot/auth/hcp-uap/viewPreRegisteredPatientList.jsp +++ b/iTrust/WebRoot/auth/hcp-uap/viewPreRegisteredPatientList.jsp @@ -84,7 +84,9 @@ loggingAction.logEvent(TransactionType.PATIENT_LIST_VIEW, loggedInMID, 0, ""); <tr> <td> - <input type=button value="Deactivate" class="deactivate"> + <a href="deactivatePrePatient.jsp?patient=<%= StringEscapeUtils.escapeHtml("" + (index)) %>" style="text-decoration: none;"> + <input type=button value="Deactivate" class="deactivate"> + </a> </td> <td > -- GitLab