Fixed some minor template issues

This commit is contained in:
Polonkai Gergely 2012-07-17 10:22:41 +02:00
parent c44a8bc144
commit 36e5590436
2 changed files with 5 additions and 6 deletions

View File

@ -28,8 +28,8 @@
{% if group.group.open or group.membershipAcceptedAt %} {% if group.group.open or group.membershipAcceptedAt %}
<dl><a href="{{ path('KekRozsakFrontBundle_groupView', {groupSlug: group.group.slug}) }}">{{ group.group.name }}</a></dl> <dl><a href="{{ path('KekRozsakFrontBundle_groupView', {groupSlug: group.group.slug}) }}">{{ group.group.name }}</a></dl>
{% endif %} {% endif %}
<dl><a href="{{ path('KekRozsakFrontBundle_groupList') }}">További csoportok</a></dl>
{% endfor %} {% endfor %}
<dl><a href="{{ path('KekRozsakFrontBundle_groupList') }}">További csoportok</a></dl>
<dt>Kedvenc Fórum-témáim</dt> <dt>Kedvenc Fórum-témáim</dt>
@ -62,11 +62,6 @@
<li><a href="{{ path('KekRozsakSecurityBundle_registration') }}">Jelentkezés</a></li> <li><a href="{{ path('KekRozsakSecurityBundle_registration') }}">Jelentkezés</a></li>
{% endif %} {% endif %}
</ul> </ul>
{% if app.user %}
<ul>
<li><a href="{{ path('KekRozsakFrontBundle_groupList') }}">Csoportok</a></li>
</ul>
{% endif %}
</div> </div>
<div id="header"> <div id="header">
<h1><a href="{{ path('KekRozsakFrontBundle_homepage') }}"><img src="{{ asset('images/kek_rozsak_felirat.jpg') }}" alt="Kék Rózsák" /></a></h1> <h1><a href="{{ path('KekRozsakFrontBundle_homepage') }}"><img src="{{ asset('images/kek_rozsak_felirat.jpg') }}" alt="Kék Rózsák" /></a></h1>

View File

@ -19,8 +19,12 @@
<td><a href="{{ path('KekRozsakFrontBundle_forum_post_list', {topicGroupSlug: topicGroup.slug, topicSlug: topic.slug}) }}">{{ topic.title }}</a></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>
{% if topic.lastPost %}
{{ topic.lastPost.createdBy.displayName }}<br /> {{ topic.lastPost.createdBy.displayName }}<br />
{{ topic.lastPost.createdAt|date('Y-m-d H:i') }} {{ topic.lastPost.createdAt|date('Y-m-d H:i') }}
{% else %}
&nbsp;<br />&nbsp;
{% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}