Rev 968 | Rev 972 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 968 | Rev 969 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
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>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</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>Пьянка XP - Администрирование - Участники пьянки "<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">Ошибки: |
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 | <!-- legend begin --> |
|
- | 32 | <div style="float:right; width:200px; background-color:#E0E0E0"> |
|
- | 33 | <logic:empty name="event" property="price"> |
|
- | 34 | <div style="margin: 1em; ">Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div> |
|
- | 35 | </logic:empty> |
|
- | 36 | <logic:notEmpty name="event" property="price"> |
|
- | 37 | <table border=1 width=100%> |
|
- | 38 | <tr><th colspan=2>Легенда</th><tr> |
|
- | 39 | <tr><td class="payedNone" style="width:50px;"> </td><td>Не заплатил</td></tr> |
|
- | 40 | <tr><td class="payedLess"> </td><td>Недоплатил</td></tr> |
|
- | 41 | <tr><td class="payedExactly"> </td><td>Все точно</td></tr> |
|
- | 42 | <tr><td class="payedMore"> </td><td>Переплатил</td></tr> |
|
- | 43 | </table> |
|
- | 44 | </logic:notEmpty> |
|
- | 45 | </div> |
|
- | 46 | <!-- legend end --> |
|
- | 47 | ||
31 | <table border=1> |
48 | <table border=1> |
32 | <tr> |
49 | <tr> |
33 | <th>Кодовый номер</th> |
50 | <th>Кодовый номер</th> |
34 | <th>Ник</th> |
51 | <th>Ник</th> |
35 | <th>e-mail</th> |
52 | <th>e-mail</th> |
36 | <th>Имя</th> |
53 | <th>Имя</th> |
37 | <th>Количество</th> |
54 | <th>Количество</th> |
38 | <th>Оплачено</th> |
55 | <th>Оплачено, евро</th> |
39 | <th> </th> |
56 | <th> </th> |
40 | <th> </th> |
57 | <th> </th> |
41 | </tr> |
58 | </tr> |
42 | 59 | ||
43 | <logic:iterate name="participants" id="p"> |
60 | <logic:iterate name="participants" id="p"> |
- | 61 | <tr class="<logic:equal name="p" property="payedStatus" value="0" |
|
- | 62 | >payedNull</logic:equal><logic:equal name="p" property="payedStatus" value="1" |
|
- | 63 | >payedNone</logic:equal><logic:equal name="p" property="payedStatus" value="2" |
|
- | 64 | >payedLess</logic:equal><logic:equal name="p" property="payedStatus" value="3" |
|
44 | <tr class="<logic:equal name="p" property="payed" value="true">payed</logic:equal><logic:notEqual name="p" property="payed" value="true">notpayed</logic:notEqual>"> |
65 | >payedExactly</logic:equal><logic:equal name="p" property="payedStatus" value="4" |
- | 66 | >payedMore</logic:equal>"> |
|
45 | <td><bean:write name="p" property="ident" /></td> |
67 | <td><bean:write name="p" property="ident" /></td> |
46 | <td><bean:write name="p" property="nick" /> </td> |
68 | <td><bean:write name="p" property="nick" /> </td> |
47 | <td><a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a></td> |
69 | <td><a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a></td> |
48 | <td><bean:write name="p" property="name" /> </td> |
70 | <td><bean:write name="p" property="name" /> </td> |
49 | <td><bean:write name="p" property="persons" /> </td> |
71 | <td><bean:write name="p" property="persons" /> </td> |
50 | <td> |
- | |
51 | <logic:equal name="p" property="payed" value="true">да</logic:equal> |
72 | <td><bean:write name="p" property="payed" format="0.00" /> </td> |
52 | <logic:notEqual name="p" property="payed" value="true">нет</logic:notEqual> |
- | |
53 | </td> |
- | |
54 | <td> |
73 | <td> |
55 | <kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</kickup:link> |
74 | <kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</kickup:link> |
56 | </td> |
75 | </td> |
57 | <td> |
76 | <td> |
58 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link> |
77 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link> |
59 | </td> |
78 | </td> |
60 | </tr> |
79 | </tr> |
61 | </logic:iterate> |
80 | </logic:iterate> |
62 | </table> |
81 | </table> |
63 | 82 | ||
64 | <p>Всего заявок: <bean:write name="event" property="participantCount" /></p> |
83 | <p>Всего заявок: <bean:write name="event" property="participantCount" /></p> |
65 | <p>Всего участников: <bean:write name="event" property="personCount" /></p> |
84 | <p>Всего участников: <bean:write name="event" property="personCount" /></p> |
66 | 85 | ||
67 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link> |
86 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link> |
68 | <br> |
87 | <br> |
69 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
88 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
70 | 89 | ||
71 | </body> |
90 | </body> |
72 | 91 | ||
73 | </html> |
92 | </html> |