details.jsp 1.12 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>

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

<html>
<head>
<title><spring:message code="metadata.page.title" /></title>
</head>
<body>
Matija Obreza's avatar
Styling    
Matija Obreza committed
10
11
	<h1>
		<c:out value="${trait.title}" />
12
		<small>${trait.crop.getName(pageContext.response.locale)}</small>
Matija Obreza's avatar
Styling    
Matija Obreza committed
13
14
	</h1>
	<div>
15
		<spring:message code="filter.crop" />: <b><a href="<c:url value="/c/${trait.crop.shortName}" />">${trait.crop.getName(pageContext.response.locale)}</a></b>
Matija Obreza's avatar
Styling    
Matija Obreza committed
16
17
18
19
	</div>
	<h4>
		<spring:message code="ce.methods" />
	</h4>
Matija Obreza's avatar
Matija Obreza committed
20
	<table>
Matija Obreza's avatar
Styling    
Matija Obreza committed
21
22
23
24
25
26
27
		<thead>
			<tr>
				<td><spring:message code="ce.trait" /></td>
				<td><spring:message code="ce.method" /></td>
				<td><spring:message code="unit-of-measure" /></td>
				<td><spring:message code="method.fieldName" /></td>
		</thead>
Matija Obreza's avatar
Matija Obreza committed
28
29
30
31
32
33
		<tbody>
			<c:forEach items="${traitMethods}" var="method">
				<tr>
					<td><c:out value="${method.parameter.title}" /></td>
					<td><a href="<c:url value="/descriptors/${trait.id}/${method.id}" />"><c:out value="${method.method}" /></a></td>
					<td><c:out value="${method.unit}" /></td>
Matija Obreza's avatar
Styling    
Matija Obreza committed
34
					<td><c:out value="${method.fieldName}" /></td>
Matija Obreza's avatar
Matija Obreza committed
35
36
37
38
39
40
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>