Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9 | 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" %> |
||
16 | dev | 7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
9 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
10 | dev | 12 | <title>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</title> |
9 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
||
15 | |||
16 | <body> |
||
17 | |||
10 | dev | 18 | <h1>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</h1> |
9 | dev | 19 | |
20 | <strutsx:errorsIterator id="errors" /> |
||
21 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 22 | <div class="error">Ошибки: |
9 | dev | 23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
30 | |||
31 | <table border=1> |
||
32 | <tr> |
||
10 | dev | 33 | <th>Кодовый номер</th> |
34 | <th>Ник</th> |
||
35 | <th>e-mail</th> |
||
36 | <th>Имя</th> |
||
37 | <th>Количество</th> |
||
38 | <th>Оплачено</th> |
||
9 | dev | 39 | <th> </th> |
40 | <th> </th> |
||
41 | </tr> |
||
42 | |||
43 | <logic:iterate name="participants" id="p"> |
||
44 | <tr> |
||
45 | <td><bean:write name="p" property="ident" /></td> |
||
46 | <td><bean:write name="p" property="nick" /> </td> |
||
19 | dev | 47 | <td><a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a></td> |
9 | dev | 48 | <td><bean:write name="p" property="name" /> </td> |
49 | <td><bean:write name="p" property="persons" /> </td> |
||
50 | <td> |
||
10 | dev | 51 | <logic:equal name="p" property="payed" value="true">да</logic:equal> |
52 | <logic:notEqual name="p" property="payed" value="true">нет</logic:notEqual> |
||
9 | dev | 53 | </td> |
54 | <td> |
||
11 | dev | 55 | <kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</kickup:link> |
9 | dev | 56 | </td> |
57 | <td> |
||
10 | dev | 58 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link> |
9 | dev | 59 | </td> |
60 | </tr> |
||
61 | </logic:iterate> |
||
62 | </table> |
||
63 | |||
19 | dev | 64 | <p>Всего заявок: <bean:write name="event" property="participantCount" /></p> |
65 | <p>Всего участников: <bean:write name="event" property="personCount" /></p> |
||
66 | |||
10 | dev | 67 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link> |
9 | dev | 68 | <br> |
16 | dev | 69 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
9 | dev | 70 | |
71 | </body> |
||
72 | |||
73 | </html> |