Revised Article stuff (Controller and templates)
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
{% extends '::main_template.html.twig' %}
|
||||
{% block title%} - {{ article.title }}{% endblock title %}
|
||||
{% block content %}
|
||||
{{ article.text|raw }}
|
||||
{% if article.source %}
|
||||
<p class="forras">Forrás: {{ article.source }}</p>
|
||||
{% endif %}
|
||||
{% if app.user %}
|
||||
<p class="szerzo">{{ article.createdBy.displayName }}</p>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user