Rev 18 | Go to most recent revision | Details | 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> |
||
42 | <backpath:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
||
43 | <bean:write name="e" property="name" /> |
||
44 | </backpath:link> |
||
45 | </td> |
||
46 | <td><bean:write name="e" property="place" /> </td> |
||
47 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
||
48 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </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 | |||
57 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
||
58 | |||
59 | </body> |
||
60 | |||
61 | </html> |