aed588e5e2
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
11 lines
443 B
Twig
11 lines
443 B
Twig
{% for news in recentNews %}
|
|
<div class="hir">
|
|
<p class="hir-cim">{{ news.title }}</p>
|
|
<p class="hir-szoveg">{{ news.text|raw }}</p>
|
|
{% if app.user %}
|
|
<p class="hir-szerzo">{{ news.createdBy|userdataspan }}</p>
|
|
{% endif %}
|
|
<p class="hir-datum">{{ news.createdAt|date('Y-m-d H:i') }}</p>
|
|
</div>
|
|
{% endfor %}
|