Subversion Repositories general

Rev

Rev 20 | Rev 969 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
<%@ taglib uri="/WEB-INF/ak-kickup.tld"        prefix="kickup"   %>
<html>

<head>
        <meta http-equiv="expires" content="0">
        <title>Пьянка XP - <bean:write name="event" property="name" /></title>
        <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>

<body>

<h1><bean:write name="event" property="name" /></h1>

<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
        <div class="error">Ошибки:
                <ul>
                <logic:iterate name="errors" id="error">
                        <li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
                </logic:iterate>
                </ul>
        </div>
</strutsx:notEmpty>

<p><kickup:write name="event" property="comment" filterBr="true" /></p>

<p>Время проведения:
<logic:empty name="event" property="start">еще неизвестно</logic:empty>
<logic:notEmpty name="event" property="start">
        <bean:write name="event" property="start" format="d MMM yyyy" />
        <logic:notEmpty name="event" property="stop">- <bean:write name="event" property="stop" format="d MMM yyyy" /></logic:notEmpty>
</logic:notEmpty>

<p>Организаторы: <bean:write name="event" property="admins" /></p>

<p>Контактный e-mail: <a href="mailto:<bean:write name="event" property="email" />"><bean:write name="event" property="email" /></a></p>

<h2>Место проведения</h2>

<p><bean:write name="event" property="place" /></p>
<p><kickup:write name="event" property="address" filterBr="true" /></p>

<h2>Планируемые мероприятия</h2>

<ul>
<logic:iterate name="acts" id="a">
        <li><bean:write name="a" property="act.name" /></li>
</logic:iterate>
</ul>

<h2>Стоимость</h2>

<p>
<logic:empty name="event" property="price">пока не определена</logic:empty>
<logic:notEmpty name="event" property="price">
        <bean:write name="event" property="price" format="0.00" /> евро с носа
</logic:notEmpty>
</p>

<p>
<backpath:link action="/participant/list" paramId="event" paramName="event" paramProperty="id">Участники</backpath:link>
<backpath:link action="/apartment/list" paramId="event" paramName="event" paramProperty="id">Где разместиться</backpath:link>
<backpath:link action="/transport/list" paramId="event" paramName="event" paramProperty="id">Как добраться</backpath:link>
</p>

<p>
<logic:equal name="event" property="registrationAvailable" value="true">
        <backpath:link action="/participant/register" paramId="event" paramName="event" paramProperty="id">Зарегистрироваться</backpath:link>
</logic:equal>
<backpath:link action="/participant/ident" paramId="event" paramName="event" paramProperty="id">Изменить свои данные</backpath:link>
</p>


<p><backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty></p>

<p><html:link page="/admin">Администрирование</html:link></<>

</body>

</html>