Subversion Repositories WebE

Rev

Rev 30 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30 Rev 34
1
<%@taglib uri="/struts-tags" prefix="s"%>
1
<%@taglib uri="/struts-tags" prefix="s"%>
2
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
2
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
3
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
3
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
4
4
5
<html>
5
<html>
6
<head>
6
<head>
7
<title>Beziehungstypen bearbeiten</title>
7
<title>Beziehungstypen bearbeiten</title>
8
</head>
8
</head>
9
<body>
9
<body>
10
10
11
<h1>Beziehungstypen</h1>
11
<h1>Beziehungstypen</h1>
12
<p>Hier k&ouml;nnen Sie die Beziehungstypen anpassen.</p>
12
<p>Hier k&ouml;nnen Sie die Beziehungstypen anpassen.</p>
13
13
14
<s:if test="relTypeList.size() == 0">
14
<s:if test="relTypeList.size() == 0">
15
<p>Keine Beziehungstypen gefunden</p>
15
<p>Keine Beziehungstypen gefunden</p>
16
</s:if><s:else>
16
</s:if><s:else>
17
<table>
17
<table>
18
	<tr>
18
	<tr>
19
		<th>Bezeichnung A =&lt; B</th>
19
		<th>Bezeichnung A =&lt; B</th>
20
		<th>Bezeichnung B =&lt; A</th>
20
		<th>Bezeichnung B =&lt; A</th>
21
	</tr>
21
	</tr>
22
<s:iterator value="relTypeList" status="stat">
22
<s:iterator value="relTypeList" status="stat">
23
	<tr>
23
	<tr>
24
		<td><s:property value="nameFrom" /></td>
24
		<td><s:property value="nameFrom" /></td>
25
		<td><s:property value="nameTo" /></td>
25
		<td><s:property value="nameTo" /></td>
26
		
26
		
27
		<td><s:url id="editURL" action="editRelType">
27
		<td><s:url id="editURL" action="editRelType">
28
			<s:param name="id" value="%{relationshipId}"></s:param>
28
			<s:param name="id" value="%{id}"></s:param>
29
		</s:url> <s:a href="%{editURL}">
29
		</s:url> <s:a href="%{editURL}">
30
			<img src="${contextPath}/resources/icons/page_white_edit.png" alt="edit" />
30
			<img src="${contextPath}/resources/icons/page_white_edit.png" alt="edit" />
31
		</s:a></td>
31
		</s:a></td>
32
		
32
		
33
		<td><s:url id="deleteURL" action="deleteRelType">
33
		<td><s:url id="deleteURL" action="deleteRelType">
34
			<s:param name="id" value="%{relationshipId}"></s:param>
34
			<s:param name="id" value="%{id}"></s:param>
35
		</s:url> <s:a href="%{deleteURL}">
35
		</s:url> <s:a href="%{deleteURL}">
36
			<img src="${contextPath}/resources/icons/delete.png" alt="delete" />
36
			<img src="${contextPath}/resources/icons/delete.png" alt="delete" />
37
		</s:a></td>
37
		</s:a></td>
38
	</tr>
38
	</tr>
39
</s:iterator>
39
</s:iterator>
40
</table>
40
</table>
41
</s:else>
41
</s:else>
42
</body>
42
</body>
43
</html>
43
</html>