Fixed forum post template so it is now possible to post in empty topics

This commit is contained in:
Polonkai Gergely 2012-07-09 18:10:23 +02:00
parent 8a55e32303
commit 7dac9378ee
1 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@
{% block title %} - Fórum - {{ topicGroup.title }} - {{ topic.title }}{% endblock %}
{% block content %}
<h3><a href="{{ path('KekRozsakFrontBundle_forum_main') }}">Fórum</a> - <a href="{{ path('KekRozsakFrontBundle_forum_topic_list', { topicGroupSlug: topicGroup.slug }) }}">{{ topicGroup.title }}</a> - {{ topic.title }}</h3>
{% if topic.posts|length > 0 %}
<table class="post-lista">
<tbody>
<tr>
@ -42,7 +41,4 @@
{% endfor %}
</tbody>
</table>
{% else %}
A témában még nincsenek hozzászólások.
{% endif %}
{% endblock %}