Subversion Repositories general

Rev

Rev 18 | Rev 976 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 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
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
11
	<title>Пьянка XP</title>
12
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
13
</head>
14
 
15
<body>
16
 
17
<h1>Пьянка XP</h1>
18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
21
	<div class="error">Ошибки:
22
		<ul>
23
		<logic:iterate name="errors" id="error">
24
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
25
		</logic:iterate>
26
		</ul>
27
	</div>
28
</strutsx:notEmpty>
29
 
30
<table border=1>
31
	<tr>
32
		<th>Название</th>
33
		<th>Место/город</th>
34
		<th>Начало</th>
35
		<th>Окончание</th>
36
		<th>Регистрация разрешена</th>
37
	</tr>
38
 
39
<logic:iterate name="events" id="e">
40
	<tr>
41
		<td>
974 dev 42
			<html:link action="/event/show" paramId="id" paramName="e" paramProperty="id">
16 dev 43
				<bean:write name="e" property="name"  />
974 dev 44
			</html:link>
16 dev 45
		</td>
46
		<td><bean:write name="e" property="place" />&nbsp;</td>
47
		<td><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
48
		<td><bean:write name="e" property="stop"  format="dd.MM.yyyy" />&nbsp;</td>
49
		<td>
50
			<logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal>
51
			<logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual>
52
		</td>
53
	</tr>
54
</logic:iterate>
55
</table>
56
 
18 dev 57
<p><backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty></p>
16 dev 58
 
18 dev 59
<p><html:link page="/admin">Администрирование</html:link></<>
60
 
16 dev 61
</body>
62
 
63
</html>