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