Rev 9 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9 | Rev 10 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | <%@ taglib uri="/WEB-INF/ak-itru.tld" prefix="itru" %> |
7 | <%@ taglib uri="/WEB-INF/ak-itru.tld" prefix="itru" %> |
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>Participants</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>Participants of <bean:write name="event" property="name" /></h1> |
18 | <h1>Пьянка XP - Администрирование - Участники пьянки "<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">Errors in input: |
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 | <table border=1> |
31 | <table border=1> |
32 | <tr> |
32 | <tr> |
33 | <th>Ident</th> |
33 | <th>Кодовый номер</th> |
34 | <th>Nick</th> |
34 | <th>Ник</th> |
35 | <th>Email</th> |
35 | <th>e-mail</th> |
36 | <th>Name</th> |
36 | <th>Имя</th> |
37 | <th>Persons</th> |
37 | <th>Количество</th> |
38 | <th>Payed</th> |
38 | <th>Оплачено</th> |
39 | <th> </th> |
39 | <th> </th> |
40 | <th> </th> |
40 | <th> </th> |
41 | </tr> |
41 | </tr> |
42 | 42 | ||
43 | <logic:iterate name="participants" id="p"> |
43 | <logic:iterate name="participants" id="p"> |
Line 46... | Line 46... | ||
46 | <td><bean:write name="p" property="nick" /> </td> |
46 | <td><bean:write name="p" property="nick" /> </td> |
47 | <td><bean:write name="p" property="email" /> </td> |
47 | <td><bean:write name="p" property="email" /> </td> |
48 | <td><bean:write name="p" property="name" /> </td> |
48 | <td><bean:write name="p" property="name" /> </td> |
49 | <td><bean:write name="p" property="persons" /> </td> |
49 | <td><bean:write name="p" property="persons" /> </td> |
50 | <td> |
50 | <td> |
51 | <logic:equal name="p" property="payed" value="true">x</logic:equal> |
51 | <logic:equal name="p" property="payed" value="true">да</logic:equal> |
52 | <logic:notEqual name="p" property="payed" value="true"> </logic:notEqual> |
52 | <logic:notEqual name="p" property="payed" value="true">нет</logic:notEqual> |
53 | </td> |
53 | </td> |
54 | <td> |
54 | <td> |
55 | <itru:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">edit</itru:link> |
55 | <itru:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</itru:link> |
56 | </td> |
56 | </td> |
57 | <td> |
57 | <td> |
58 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">delete</backpath:link> |
58 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link> |
59 | </td> |
59 | </td> |
60 | </tr> |
60 | </tr> |
61 | </logic:iterate> |
61 | </logic:iterate> |
62 | </table> |
62 | </table> |
63 | 63 | ||
64 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Add new participant</backpath:link> |
64 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link> |
65 | <br> |
65 | <br> |
66 | <backpath:backlink>Back</backpath:backlink> |
66 | <backpath:backlink>Назад</backpath:backlink> |
67 | 67 | ||
68 | </body> |
68 | </body> |
69 | 69 | ||
70 | </html> |
70 | </html> |