Subversion Repositories general

Rev

Rev 22 | Rev 969 | 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
<%@ taglib uri="/WEB-INF/ak-kickup.tld"        prefix="kickup"   %>
8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
12
	<title>Пьянка XP - <bean:write name="event" property="name" /></title>
13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
14
</head>
15
 
16
<body>
17
 
18
<h1><bean:write name="event" property="name" /></h1>
19
 
20
<strutsx:errorsIterator id="errors" />
21
<strutsx:notEmpty name="errors">
22
	<div class="error">Ошибки:
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
<p><kickup:write name="event" property="comment" filterBr="true" /></p>
32
 
33
<p>Время проведения:
34
<logic:empty name="event" property="start">еще неизвестно</logic:empty>
35
<logic:notEmpty name="event" property="start">
36
	<bean:write name="event" property="start" format="d MMM yyyy" />
37
	<logic:notEmpty name="event" property="stop">- <bean:write name="event" property="stop" format="d MMM yyyy" /></logic:notEmpty>
38
</logic:notEmpty>
39
 
19 dev 40
<p>Организаторы: <bean:write name="event" property="admins" /></p>
41
 
42
<p>Контактный e-mail: <a href="mailto:<bean:write name="event" property="email" />"><bean:write name="event" property="email" /></a></p>
43
 
16 dev 44
<h2>Место проведения</h2>
45
 
46
<p><bean:write name="event" property="place" /></p>
47
<p><kickup:write name="event" property="address" filterBr="true" /></p>
48
 
49
<h2>Планируемые мероприятия</h2>
50
 
51
<ul>
52
<logic:iterate name="acts" id="a">
968 dev 53
	<li><bean:write name="a" property="act.name" />
54
		<kickup:link action="/act/list" paramId="event" paramName="event" paramProperty="id" paramId2="act" paramName2="a" paramProperty2="act.id">(участники)</kickup:link></li>
16 dev 55
</logic:iterate>
56
</ul>
57
 
58
<h2>Стоимость</h2>
59
 
60
<p>
61
<logic:empty name="event" property="price">пока не определена</logic:empty>
62
<logic:notEmpty name="event" property="price">
63
	<bean:write name="event" property="price" format="0.00" /> евро с носа
64
</logic:notEmpty>
65
</p>
66
 
19 dev 67
<p>
16 dev 68
<backpath:link action="/participant/list" paramId="event" paramName="event" paramProperty="id">Участники</backpath:link>
69
<backpath:link action="/apartment/list" paramId="event" paramName="event" paramProperty="id">Где разместиться</backpath:link>
70
<backpath:link action="/transport/list" paramId="event" paramName="event" paramProperty="id">Как добраться</backpath:link>
19 dev 71
</p>
16 dev 72
 
19 dev 73
<p>
22 dev 74
<logic:equal name="event" property="registrationAvailable" value="true">
20 dev 75
	<backpath:link action="/participant/register" paramId="event" paramName="event" paramProperty="id">Зарегистрироваться</backpath:link>
76
</logic:equal>
22 dev 77
<backpath:link action="/participant/ident" paramId="event" paramName="event" paramProperty="id">Изменить свои данные</backpath:link>
19 dev 78
</p>
79
 
20 dev 80
 
18 dev 81
<p><backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty></p>
16 dev 82
 
18 dev 83
<p><html:link page="/admin">Администрирование</html:link></<>
84
 
16 dev 85
</body>
86
 
87
</html>