Subversion Repositories general

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
3
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
4
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
5
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
6
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
7
<%@ taglib uri="/WEB-INF/ak-itru.tld"          prefix="itru"     %>
8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
12
	<title>Participants</title>
13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
14
</head>
15
 
16
<body>
17
 
18
<h1>Participants of <bean:write name="event" property="name" /></h1>
19
 
20
<strutsx:errorsIterator id="errors" />
21
<strutsx:notEmpty name="errors">
22
	<div class="error">Errors in input:
23
		<ul>
24
		<logic:iterate name="errors" id="error">
25
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
26
		</logic:iterate>
27
		</ul>
28
	</div>
29
</strutsx:notEmpty>
30
 
31
<table border=1>
32
	<tr>
33
		<th>Ident</th>
34
		<th>Nick</th>
35
		<th>Email</th>
36
		<th>Name</th>
37
		<th>Persons</th>
38
		<th>Payed</th>
39
		<th>&nbsp;</th>
40
		<th>&nbsp;</th>
41
	</tr>
42
 
43
<logic:iterate name="participants" id="p">
44
	<tr>
45
		<td><bean:write name="p" property="ident"   /></td>
46
		<td><bean:write name="p" property="nick"    />&nbsp;</td>
47
		<td><bean:write name="p" property="email"   />&nbsp;</td>
48
		<td><bean:write name="p" property="name"    />&nbsp;</td>
49
		<td><bean:write name="p" property="persons" />&nbsp;</td>
50
		<td>
51
			<logic:equal name="p" property="payed" value="true">x</logic:equal>
52
			<logic:notEqual name="p" property="payed" value="true">&nbsp;</logic:notEqual>
53
		</td>
54
		<td>
55
			<itru:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">edit</itru:link>
56
		</td>
57
		<td>
58
			<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">delete</backpath:link>
59
		</td>
60
	</tr>
61
</logic:iterate>
62
</table>
63
 
64
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Add new participant</backpath:link>
65
<br>
66
<backpath:backlink>Back</backpath:backlink>
67
 
68
</body>
69
 
70
</html>