Rev 27 | Rev 34 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 27 | Rev 30 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 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" %> |
|
| - | 3 | <c:set var="contextPath" value="${pageContext.request.contextPath}" />
|
|
| - | 4 | ||
| 2 | <html> |
5 | <html> |
| 3 | <head> |
6 | <head> |
| 4 | <title>Beziehungstypen bearbeiten</title> |
7 | <title>Beziehungstypen bearbeiten</title> |
| 5 | </head> |
8 | </head> |
| 6 | <body> |
9 | <body> |
| 7 | 10 | ||
| 8 | <h1>Beziehungstypen</h1> |
11 | <h1>Beziehungstypen</h1> |
| 9 | <p>Hier können Sie die Beziehungstypen anpassen.</p> |
12 | <p>Hier können Sie die Beziehungstypen anpassen.</p> |
| 10 | 13 | ||
| 11 | <s:if test="relTypeList.size() == 0"> |
14 | <s:if test="relTypeList.size() == 0"> |
| 12 | <p>Keine Benutzer gefunden</p> |
15 | <p>Keine Beziehungstypen gefunden</p> |
| 13 | </s:if> |
16 | </s:if><s:else> |
| 14 | <table> |
17 | <table> |
| 15 | <tr> |
18 | <tr> |
| 16 | <th>Bezeichnung A =< B</th> |
19 | <th>Bezeichnung A =< B</th> |
| 17 | <th>Bezeichnung B =< A</th> |
20 | <th>Bezeichnung B =< A</th> |
| 18 | </tr> |
21 | </tr> |
| Line 21... | Line 24... | ||
| 21 | <td><s:property value="nameFrom" /></td> |
24 | <td><s:property value="nameFrom" /></td> |
| 22 | <td><s:property value="nameTo" /></td> |
25 | <td><s:property value="nameTo" /></td> |
| 23 | 26 | ||
| 24 | <td><s:url id="editURL" action="editRelType"> |
27 | <td><s:url id="editURL" action="editRelType"> |
| 25 | <s:param name="id" value="%{relationshipId}"></s:param>
|
28 | <s:param name="id" value="%{relationshipId}"></s:param>
|
| 26 | </s:url> <s:a href="%{editURL}">Ändern</s:a></td>
|
29 | </s:url> <s:a href="%{editURL}">
|
| - | 30 | <img src="${contextPath}/resources/icons/page_white_edit.png" alt="edit" />
|
|
| - | 31 | </s:a></td> |
|
| - | 32 | ||
| 27 | <td><s:url id="deleteURL" action="deleteRelType"> |
33 | <td><s:url id="deleteURL" action="deleteRelType"> |
| 28 | <s:param name="id" value="%{relationshipId}"></s:param>
|
34 | <s:param name="id" value="%{relationshipId}"></s:param>
|
| 29 | </s:url> <s:a href="%{deleteURL}">Löschen</s:a></td>
|
35 | </s:url> <s:a href="%{deleteURL}">
|
| - | 36 | <img src="${contextPath}/resources/icons/delete.png" alt="delete" />
|
|
| - | 37 | </s:a></td> |
|
| 30 | </tr> |
38 | </tr> |
| 31 | </s:iterator> |
39 | </s:iterator> |
| 32 | </table> |
40 | </table> |
| 33 | 41 | </s:else> |
|
| 34 | </body> |
42 | </body> |
| 35 | </html> |
43 | </html> |
| 36 | 44 | ||