Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 968 → Rev 969

/kickup/trunk/webapp/event/show.jsp
15,7 → 15,52
 
<body>
 
<h1><bean:write name="event" property="name" /></h1>
<!-- header begin -->
<table border=0>
<tr>
<td align=left valign=top>
<div class="eventName"><bean:write name="event" property="name" /></div>
</td>
<td align=right valign=top colspan=2>
<div class="eventDate">
<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>
</div>
<div class="eventPlace"><bean:write name="event" property="place" /></div>
</td>
</tr>
<tr>
<td align=left valign=bottom colspan=2>
Уже зарегистрированно <span class="personCount"><bean:write name="event" property="personCount" /></span> участников
</td>
<td align=right valign=bottom>
<logic:equal name="event" property="registrationAvailable" value="true">
<backpath:link action="/participant/register" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/register.gif" alt="Зарегистрироваться" border=0></backpath:link>
</logic:equal>
</td>
</tr>
<tr>
<td colspan=3>&nbsp;</td>
</tr>
<tr>
<td align=left valign=top colspan=2>
<kickup:currentLink action="/event/show" paramId="id" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/show.gif" alt="Программа" border=0></kickup:currentLink>
<kickup:currentLink action="/apartment/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/apartments.gif" alt="Программа" border=0></kickup:currentLink>
<kickup:currentLink action="/transport/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/transport.gif" alt="Программа" border=0></kickup:currentLink>
<kickup:currentLink action="/participant/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/participants.gif" alt="Программа" border=0></kickup:currentLink>
</td>
<td align=right valign=top>
<kickup:currentLink action="/participant/ident" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/ident.gif" alt="Программа" border=0></kickup:currentLink>
</td>
</tr>
<tr>
<td colspan=3><img src="<strutsx:root />/images/line.gif" alt=""></td>
</tr>
</table>
<!-- header end -->
 
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
30,21 → 75,10
 
<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>
<div class="eventPlace"><bean:write name="event" property="place" /></div>
<div class="eventAddress"><kickup:write name="event" property="address" filterBr="true" /></div>
 
<h2>Планируемые мероприятия</h2>
 
51,7 → 85,7
<ul>
<logic:iterate name="acts" id="a">
<li><bean:write name="a" property="act.name" />
<kickup:link action="/act/list" paramId="event" paramName="event" paramProperty="id" paramId2="act" paramName2="a" paramProperty2="act.id">(участники)</kickup:link></li>
<kickup:link action="/act/list" paramId="event" paramName="event" paramProperty="id" paramId2="act" paramName2="a" paramProperty2="act.id"><span class="actParticipants">[участники]</span></kickup:link></li>
</logic:iterate>
</ul>
 
64,24 → 98,26
</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>
<!-- footer begin -->
<table border=0>
<tr>
<td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td>
</tr>
<tr>
<td>По всем вопросам обращайтесь к организаторам: <span class="eventAdmins"><bean:write name="event" property="admins" /></span></td>
<td align=right valign=top>
<html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link>
</td>
</tr>
<tr>
<td>Контактный e-mail: <a href="mailto:<bean:write name="event" property="email" />"><bean:write name="event" property="email" /></a></td>
<td align=right valign=top>
<html:link page="/"><img src="<strutsx:root />/images/list.gif" alt="Администрирование" border=0></html:link>
</td>
<tr>
</table>
<!-- footer end -->
 
<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>