categories.jsp 902 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>

<html>
<head>
<title><spring:message code="descriptor.category" /></title>
</head>
<body>
	<h1>
		<spring:message code="descriptor.category" />
	</h1>

	<table>
			<thead>
			<tr>
				<td><spring:message code="descriptor.category" /></td>
				<td><spring:message code="ce.sameAs" /></td>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${categories}" var="category" varStatus="status">
			<tr class="${status.count % 2 == 0 ? 'even' : 'odd'}">
				<td><a href="<c:url value="/category/${category.id}" />"><c:out value="${category.getName(pageContext.response.locale)}" /></a></td>
				<td>
				<c:if test="${category.rdfUri ne null}">
				   <a href="<c:url value="${category.rdfUri}" />">
				      <c:out value="${category.getRdfUriId()}" />
				   </a>
				</c:if>
				</td>
			</tr>
 		</c:forEach>
		</tbody>
	</table>

</body>
</html>