Rev 9 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9 | Rev 10 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title>Events</title> |
11 | <title>Пьянка XP - Администрирование - Пьянки</title> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | </head> |
13 | </head> |
14 | 14 | ||
15 | <body> |
15 | <body> |
16 | 16 | ||
17 | <h1>Events</h1> |
17 | <h1>Пьянка XP - Администрирование - Пьянки</h1> |
18 | 18 | ||
19 | <strutsx:errorsIterator id="errors" /> |
19 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:notEmpty name="errors"> |
20 | <strutsx:notEmpty name="errors"> |
21 | <div class="error">Errors in input: |
21 | <div class="error">Ошибки: |
22 | <ul> |
22 | <ul> |
23 | <logic:iterate name="errors" id="error"> |
23 | <logic:iterate name="errors" id="error"> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | </logic:iterate> |
25 | </logic:iterate> |
26 | </ul> |
26 | </ul> |
27 | </div> |
27 | </div> |
28 | </strutsx:notEmpty> |
28 | </strutsx:notEmpty> |
29 | 29 | ||
30 | <table border=1> |
30 | <table border=1> |
31 | <tr> |
31 | <tr> |
32 | <th>Name</th> |
32 | <th>Название</th> |
33 | <th>Place</th> |
33 | <th>Место/город</th> |
34 | <th>Start</th> |
34 | <th>Начало</th> |
35 | <th>Stop</th> |
35 | <th>Окончание</th> |
36 | <th>Enabled</th> |
36 | <th>Регистрация разрешена</th> |
37 | <th> </th> |
37 | <th> </th> |
38 | <th> </th> |
38 | <th> </th> |
39 | <th> </th> |
39 | <th> </th> |
40 | </tr> |
40 | </tr> |
41 | 41 | ||
Line 44... | Line 44... | ||
44 | <td><bean:write name="e" property="name" /></td> |
44 | <td><bean:write name="e" property="name" /></td> |
45 | <td><bean:write name="e" property="place" /> </td> |
45 | <td><bean:write name="e" property="place" /> </td> |
46 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </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> |
47 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
48 | <td> |
48 | <td> |
49 | <logic:equal name="e" property="enabled" value="true">x</logic:equal> |
49 | <logic:equal name="e" property="enabled" value="true">да</logic:equal> |
50 | <logic:notEqual name="e" property="enabled" value="true"> </logic:notEqual> |
50 | <logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
51 | </td> |
51 | </td> |
52 | <td> |
52 | <td> |
53 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">edit</backpath:link> |
53 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link> |
54 | </td> |
54 | </td> |
55 | <td> |
55 | <td> |
56 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">delete</backpath:link> |
56 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link> |
57 | </td> |
57 | </td> |
58 | <td> |
58 | <td> |
59 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">participants</backpath:link> |
59 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link> |
60 | </td> |
60 | </td> |
61 | </tr> |
61 | </tr> |
62 | </logic:iterate> |
62 | </logic:iterate> |
63 | </table> |
63 | </table> |
64 | 64 | ||
65 | <backpath:link action="/admin/event/edit">Add new event</backpath:link> |
65 | <backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link> |
66 | <br> |
66 | <br> |
67 | <backpath:backlink>Back</backpath:backlink> |
67 | <backpath:backlink>Назад</backpath:backlink> |
68 | 68 | ||
69 | </body> |
69 | </body> |
70 | 70 | ||
71 | </html> |
71 | </html> |