diff src/main/webapp/public/publicCodex.jsp @ 21:176a21acd008

fixed merge errors in WitnessTemplate. fixed non-resolved reference in codex info in publicCodex and publicWitness.
author casties
date Mon, 13 Apr 2015 20:28:30 +0000
parents 7f4e574966bd
children 672301480990
line wrap: on
line diff
--- a/src/main/webapp/public/publicCodex.jsp	Mon Apr 13 13:47:54 2015 +0000
+++ b/src/main/webapp/public/publicCodex.jsp	Mon Apr 13 20:28:30 2015 +0000
@@ -342,16 +342,18 @@
 									</c:forEach>
 									<tr><td class="tdTitle">References</td><td></td><td><table class="tableContent">
 									<tbody>
-										<c:forEach var="ref" items="${codexPage.getReferenceList().keySet()}">
+										<c:forEach var="ref" items="${codexPage.getReferenceList().keySet()}" varStatus="loop">
 										<tr>
-										<td  style="text-align">	<c:out value="${ref}"/>
-										</td>
+										  <td id="bibl-entry-codex-${loop.index}">
+										    <c:out value="${ref}"/>
+										    <script>showBibliographyEntryFormatted("${ref}", null, "#bibl-entry-codex-${loop.index}")</script>
+										  </td>
 										</tr>
 										<tr>
-										<td  style="text-align">	<c:out value="${codexPage.getReferenceList()[ref]}"/>
-										</td>
+										  <td>
+										    <c:out value="${codexPage.getReferenceList()[ref]}"/>
+										  </td>
 										</tr>
-
 										</c:forEach>
 									</tbody>
 									</table>