The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Added forum topic last post view

master
Polonkai Gergely 11 years ago
parent 00190c3e37
commit c1232c9792
  1. 7
      src/KekRozsak/FrontBundle/Resources/views/Forum/topic_group_list.html.twig
  2. 7
      src/KekRozsak/FrontBundle/Resources/views/Forum/topic_list.html.twig

@ -7,7 +7,6 @@
<thead>
<tr>
<td colspan="2"><a href="{{ path('KekRozsakFrontBundle_forum_topic_list', {topicGroupSlug: topicGroup.slug}) }}">{{ topicGroup.title }}</a></td>
<td>Témák száma</td>
<td>Hozzászólások száma</td>
<td>Utolsó hozzászólás</td>
</tr>
@ -19,8 +18,10 @@
<td>[ikon]</td>
<td><a href="{{ path('KekRozsakFrontBundle_forum_post_list', {topicGroupSlug: topicGroup.slug, topicSlug: topic.slug}) }}">{{ topic.title }}</a></td>
<td></td>
<td></td>
<td></td>
<td>
{{ topic.lastPost.createdBy.displayName }}<br />
{{ topic.lastPost.createdAt|date('Y-m-d H:i') }}
</td>
</tr>
{% endfor %}
{% else %}

@ -7,12 +7,19 @@
<thead>
<tr>
<td></td>
<td>Hozzászólások száma</td>
<td>Utolsó hozzászólás</td>
</tr>
</thead>
<tbody>
{% for topic in topicGroup.topics %}
<tr class="{{ cycle(['odd', 'even'], loop.index0) }}">
<td><a href="{{ path('KekRozsakFrontBundle_forum_post_list', { topicGroupSlug: topicGroup.slug, topicSlug: topic.slug }) }}">{{ topic.title }}</a></td>
<td></td>
<td>
{{ topic.lastPost.createdBy.displayName }}<br />
{{ topic.lastPost.createdAt|date('Y-m-d H:i') }}
</td>
</tr>
{% endfor %}
</tbody>

Loading…
Cancel
Save