2012-07-31 07:52:24 +00:00
|
|
|
{# vim: ft=htmljinja
|
|
|
|
#}
|
2012-08-15 10:31:02 +00:00
|
|
|
{% extends 'KekRozsakFrontBundle:Default:main_template.html.twig' %}
|
2012-07-03 12:11:18 +00:00
|
|
|
{% block title %} - Fórum - {{ topicGroup.title }} - {{ topic.title }}{% endblock %}
|
|
|
|
{% block content %}
|
2012-08-25 15:03:08 +00:00
|
|
|
<h3>
|
|
|
|
{% if app.user.userData and app.user.userData.isFavouriteForumTopic(topic) %}
|
2012-08-25 15:32:14 +00:00
|
|
|
<span class="unfavourite-topic-button topicgroup-{{ topicGroup.slug }}" id="unfavourite-topic-button-{{ topic.slug }}"><img src="{{ asset('bundles/kekrozsakfront/images/penta-yellow-24.png') }}" alt="[Kedvenc]" /></span>
|
2012-08-25 15:03:08 +00:00
|
|
|
{% else %}
|
2012-08-25 15:32:14 +00:00
|
|
|
<span class="favourite-topic-button topicgroup-{{ topicGroup.slug }}" id="favourite-topic-button-{{ topic.slug }}"><img src="{{ asset('bundles/kekrozsakfront/images/penta-blue-24.png') }}" alt="[Nem kedvenc]" /></span>
|
2012-08-25 15:03:08 +00:00
|
|
|
{% endif %}
|
|
|
|
<a href="{{ path('KekRozsakFrontBundle_forumTopicGroupList') }}">Fórum</a> -
|
|
|
|
<a href="{{ path('KekRozsakFrontBundle_forumTopicList', {slug: topicGroup.slug}) }}">{{ topicGroup.title }}</a> -
|
|
|
|
{{ topic.title }}
|
|
|
|
</h3>
|
2012-07-07 10:12:33 +00:00
|
|
|
<table class="post-lista">
|
2012-08-16 13:52:41 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="uj-post">
|
|
|
|
<form method="post" action="{{ path('KekRozsakFrontBundle_forumPostList', { topicGroupSlug: topicGroup.slug, topicSlug: topic.slug } ) }}">
|
|
|
|
{{ form_widget(form) }}
|
|
|
|
<p>
|
|
|
|
<span class="eszkoztar">Súgó</span><span class="kuldes-gomb" /><button type="submit">Küldés</button>
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
<td class="felado">
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
[avatar]<br />
|
|
|
|
{{ app.user.displayName }}<br />
|
|
|
|
Saját szint<br />
|
|
|
|
<br />
|
|
|
|
Tagság kezdete:<br />
|
|
|
|
{{ app.user.registeredAt|date('Y-m-d') }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2012-07-07 18:25:54 +00:00
|
|
|
{% for post in posts %}
|
2012-08-16 13:52:41 +00:00
|
|
|
<tr>
|
2012-08-16 17:35:05 +00:00
|
|
|
<td class="datum">
|
|
|
|
{{ post.createdAt|date('Y-m-d') }}
|
|
|
|
{{ post.createdAt|date('H:i') }}
|
|
|
|
</td>
|
|
|
|
<td class="felado" rowspan="2">
|
2012-08-16 13:52:41 +00:00
|
|
|
[avatar]<br />
|
|
|
|
{{ post.createdBy|userdataspan }}<br />
|
|
|
|
Szint<br />
|
|
|
|
<br />
|
|
|
|
Tagság kezdete:<br />
|
|
|
|
{{ post.createdBy.RegisteredAt|date('Y-m-d') }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2012-08-16 17:35:05 +00:00
|
|
|
<tr>
|
|
|
|
<td class="szoveg"><div>{{ post.text|bbdecode }}</div></td>
|
|
|
|
</tr>
|
2012-07-03 12:56:28 +00:00
|
|
|
{% endfor %}
|
2012-08-16 13:52:41 +00:00
|
|
|
</tbody>
|
2012-07-03 12:56:28 +00:00
|
|
|
</table>
|
2012-07-03 12:11:18 +00:00
|
|
|
{% endblock %}
|