Fixed event listing

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI
2012-08-15 18:07:46 +02:00
parent 7a77a4e1ed
commit 111c563409
6 changed files with 44 additions and 17 deletions

View File

@@ -38,7 +38,7 @@
OR (event.startDate <= this day AND evend.endDate >= this day)
#}
<td id="event-calendar-{{ i }}"{% if eventList[i].events|length > 0 %} class="program" rel="{{ path('KekRozsakFrontBundle_eventAjaxList', {date: eventList[i].date|date('Y-m-d'), _format: 'html'}) }}"{% endif %}>
<a href="{{ path('KekRozsakFrontBundle_eventList', { date: eventList[i].date|date('Y-m-d'), _format: 'html'}) }}">{{ eventList[i].date|date('d') }}</a>
<a href="{{ path('KekRozsakFrontBundle_eventList', { date: eventList[i].date|date('Y-m-d')}) }}">{{ eventList[i].date|date('d') }}</a>
</td>
{% if cur is divisibleby(7) %}
</tr>
@@ -56,7 +56,7 @@ OR (event.startDate <= this day AND evend.endDate >= this day)
</tr>
</tbody>
</table>
<a href="">További események</a>
<a href="{{ path('KekRozsakFrontBundle_eventList') }}">További események</a>
</div>
</div>
</div>