Skip to content

Commit

Permalink
JSTL cartable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oskopek committed Apr 15, 2014
1 parent 804c3b0 commit 2a7cff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions carcv-webapp/src/main/webapp/app/cartable.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<c:set var = "admin" value = "admin" />
<c:set var = "isAdmin" value = "${request.isUserInRole(admin)}" />
<c:out value = "IsAdmin: ${isAdmin}" />
<c:out value = "IsAdmin: ${isAdmin eq true ? 'true' : 'false'}" />
<table style="border: 1px solid #C0C0C0;">
<tr>
<th style="width: 160px; height: 15px; background-color: #B0C4DE;">Car preview</th>
Expand All @@ -27,7 +27,7 @@
<th style="width: 15%; height: 15px; background-color: #B0C4DE;">Video</th>
<th style="width: 15%; height: 15px; background-color: #B0C4DE;">Pictures</th>
<th style="width: 15%; height: 15px; background-color: #B0C4DE;">Report</th>
<c:if test="${isAdmin}">
<c:if test="${isAdmin eq true}">
<th style="width: 10%; height: 15px; background-color: #B0C4DE;">Delete</th>
</c:if>
</tr>
Expand All @@ -44,7 +44,7 @@
<td><a href="/servlet/DisplayImage?path=${member.previewPath}" target="_top">View preview</a></td>
<td><a href="/servlet/GenerateReport?entry_id=${member.entryId}&timezone=${member.timeZone}" target="_top">Generate
report</a></td>
<c:if test="${isAdmin}">
<c:if test="${isAdmin eq true}">
<td>
<button onclick="confirmRemove()">Delete</button>
<script>
Expand Down

0 comments on commit 2a7cff2

Please sign in to comment.