30 lines
801 B
Twig
30 lines
801 B
Twig
{% extends '::main_template.html.twig' %}
|
|
{% block title %} - Fórum{% endblock %}
|
|
{% block content %}
|
|
<h3>Fórum</h3>
|
|
{% for topicGroup in topicGroups %}
|
|
<table id="temakor-lista">
|
|
<thead>
|
|
<tr>
|
|
<td><a href="{{ path('KekRozsakFrontBundle_forum_topic_list', {topicGroupSlug: topicGroup.slug}) }}">{{ topicGroup.title }}</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% if topicGroup.topics|length > 0 %}
|
|
{% for topic in topicGroup.topics %}
|
|
<tr>
|
|
<td><a href="{{ path('KekRozsakFrontBundle_forum_post_list', {topicGroupSlug: topicGroup.slug, topicSlug: topic.slug}) }}">{{ topic.title }}</a></td>
|
|
<td></td>
|
|
</tr>
|
|
{% endfor %}
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="2">Ebben a kategóriában nincsenek témák</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
{% endfor %}
|
|
{% endblock content %}
|