Skip to content

Commit

Permalink
Merge pull request #253 from gii-is-DP2/hotfix/3.0.3
Browse files Browse the repository at this point in the history
hotfix/3.0.3
  • Loading branch information
enrreigut authored Jun 2, 2020
2 parents ae04871 + 450c92f commit c814445
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<br>

<c:choose>
<c:when test="${training.editingPermission!='TRAINER'}">
<c:when test="${training.endDate < actualDate || training.editingPermission!='TRAINER'}">
<spring:url value="/client/${client.user.username}/trainings/${training.id}/routine/create" var="addRoutineUrl"/>
<a href="${fn:escapeXml(addRoutineUrl)}">Add Routine</a>
</c:when>
Expand All @@ -85,7 +85,7 @@
<h3>Repetitions per Week: <c:out value="${routine.repsPerWeek}"/></h3>

<c:choose>
<c:when test="${training.editingPermission!='TRAINER'}">
<c:when test="${training.endDate < actualDate || training.editingPermission!='TRAINER'}">
<spring:url value="/client/${client.user.username}/trainings/${training.id}/routine/${routine.id}/update" var="updateRoutineUrl"/>
<a href="${fn:escapeXml(updateRoutineUrl)}">Edit Routine</a>
</c:when>
Expand All @@ -97,7 +97,7 @@
<br>

<c:choose>
<c:when test="${training.editingPermission!='TRAINER'}">
<c:when test="${training.endDate < actualDate || training.editingPermission!='TRAINER'}">
<spring:url value="/client/${client.user.username}/trainings/${training.id}/routine/${routine.id}/delete" var="deleteRoutineUrl"/>
<a href="${fn:escapeXml(deleteRoutineUrl)}">Delete Routine</a>
</c:when>
Expand All @@ -109,7 +109,7 @@
<br>

<c:choose>
<c:when test="${training.editingPermission!='TRAINER'}">
<c:when test="${training.endDate < actualDate || training.editingPermission!='TRAINER'}">
<spring:url value="/client/${client.user.username}/trainings/${training.id}/routines/${routine.id}/routineLine/create" var="addRoutineLineUrl"/>
<a href="${fn:escapeXml(addRoutineLineUrl)}">Add Routine Line</a>
</c:when>
Expand Down

0 comments on commit c814445

Please sign in to comment.