Rev 16 | Rev 19 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16 | Rev 18 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
8 | <html> |
8 | <html> |
9 | 9 | ||
10 | <head> |
10 | <head> |
11 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
12 | <title>Пьянка XP - <bean:write name="event" property="name" /></title> |
12 | <title>Пьянка XP - <bean:write name="event" property="name" /></title> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
14 | </head> |
15 | 15 | ||
16 | <body> |
16 | <body> |
17 | 17 | ||
18 | <h1><bean:write name="event" property="name" /></h1> |
18 | <h1><bean:write name="event" property="name" /></h1> |
19 | 19 | ||
20 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
21 | <strutsx:notEmpty name="errors"> |
22 | <div class="error">Ошибки: |
22 | <div class="error">Ошибки: |
23 | <ul> |
23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
24 | <logic:iterate name="errors" id="error"> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
26 | </logic:iterate> |
26 | </logic:iterate> |
27 | </ul> |
27 | </ul> |
28 | </div> |
28 | </div> |
29 | </strutsx:notEmpty> |
29 | </strutsx:notEmpty> |
30 | 30 | ||
31 | <p><kickup:write name="event" property="comment" filterBr="true" /></p> |
31 | <p><kickup:write name="event" property="comment" filterBr="true" /></p> |
32 | 32 | ||
33 | <p>Время проведения: |
33 | <p>Время проведения: |
34 | <logic:empty name="event" property="start">еще неизвестно</logic:empty> |
34 | <logic:empty name="event" property="start">еще неизвестно</logic:empty> |
35 | <logic:notEmpty name="event" property="start"> |
35 | <logic:notEmpty name="event" property="start"> |
36 | <bean:write name="event" property="start" format="d MMM yyyy" /> |
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> |
37 | <logic:notEmpty name="event" property="stop">- <bean:write name="event" property="stop" format="d MMM yyyy" /></logic:notEmpty> |
38 | </logic:notEmpty> |
38 | </logic:notEmpty> |
39 | 39 | ||
40 | <h2>Место проведения</h2> |
40 | <h2>Место проведения</h2> |
41 | 41 | ||
42 | <p><bean:write name="event" property="place" /></p> |
42 | <p><bean:write name="event" property="place" /></p> |
43 | <p><kickup:write name="event" property="address" filterBr="true" /></p> |
43 | <p><kickup:write name="event" property="address" filterBr="true" /></p> |
44 | 44 | ||
45 | <h2>Планируемые мероприятия</h2> |
45 | <h2>Планируемые мероприятия</h2> |
46 | 46 | ||
47 | <ul> |
47 | <ul> |
48 | <logic:iterate name="acts" id="a"> |
48 | <logic:iterate name="acts" id="a"> |
49 | <li><bean:write name="a" property="act.name" /></li> |
49 | <li><bean:write name="a" property="act.name" /></li> |
50 | </logic:iterate> |
50 | </logic:iterate> |
51 | </ul> |
51 | </ul> |
52 | 52 | ||
53 | <h2>Стоимость</h2> |
53 | <h2>Стоимость</h2> |
54 | 54 | ||
55 | <p> |
55 | <p> |
56 | <logic:empty name="event" property="price">пока не определена</logic:empty> |
56 | <logic:empty name="event" property="price">пока не определена</logic:empty> |
57 | <logic:notEmpty name="event" property="price"> |
57 | <logic:notEmpty name="event" property="price"> |
58 | <bean:write name="event" property="price" format="0.00" /> евро с носа |
58 | <bean:write name="event" property="price" format="0.00" /> евро с носа |
59 | </logic:notEmpty> |
59 | </logic:notEmpty> |
60 | </p> |
60 | </p> |
61 | 61 | ||
62 | <backpath:link action="/participant/list" paramId="event" paramName="event" paramProperty="id">Участники</backpath:link> |
62 | <backpath:link action="/participant/list" paramId="event" paramName="event" paramProperty="id">Участники</backpath:link> |
63 | <backpath:link action="/apartment/list" paramId="event" paramName="event" paramProperty="id">Где разместиться</backpath:link> |
63 | <backpath:link action="/apartment/list" paramId="event" paramName="event" paramProperty="id">Где разместиться</backpath:link> |
64 | <backpath:link action="/transport/list" paramId="event" paramName="event" paramProperty="id">Как добраться</backpath:link> |
64 | <backpath:link action="/transport/list" paramId="event" paramName="event" paramProperty="id">Как добраться</backpath:link> |
65 | 65 | ||
66 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
66 | <p><backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty></p> |
- | 67 | ||
- | 68 | <p><html:link page="/admin">Администрирование</html:link></<> |
|
67 | 69 | ||
68 | </body> |
70 | </body> |
69 | 71 | ||
70 | </html> |
72 | </html> |