+
+
+ {{ entity.title }}
+
+
+
+
+ {% if entity.startDate %}
+ {{ entity.startDate|format_date('long') }}
+ {% endif %}
+ {% if entity.endDate %}
+ - {{ entity.endDate|format_date('long') }}
+ {% endif %}
+
+
+
+
+ {{ entity.content|u.truncate(350, '… [' ~ ('news.read_more'|trans) ~ '](' ~ chill_path_add_return_path('chill_main_single_news_item', { 'id': entity.id } ) ~ ')', false)|chill_markdown_to_html }}
+
+
+
+
+
diff --git a/src/Bundle/ChillMainBundle/Resources/views/NewsItem/_show.html.twig b/src/Bundle/ChillMainBundle/Resources/views/NewsItem/_show.html.twig
new file mode 100644
index 000000000..ed11908ec
--- /dev/null
+++ b/src/Bundle/ChillMainBundle/Resources/views/NewsItem/_show.html.twig
@@ -0,0 +1,13 @@
+
{{ entity.title }} |
- {{ entity.startDate|date }} |
+ {{ entity.startDate|format_date('long') }} |
{% if entity.endDate is not null %}
- {{ entity.endDate|date }} |
+ {{ entity.endDate|format_date('long') }} |
{% else %}
{{ 'news.noDate'|trans }} |
{% endif %}
|
diff --git a/src/Bundle/ChillMainBundle/Resources/views/NewsItem/news_items_history.html.twig b/src/Bundle/ChillMainBundle/Resources/views/NewsItem/news_items_history.html.twig
index e462c3302..134135791 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/NewsItem/news_items_history.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/NewsItem/news_items_history.html.twig
@@ -21,54 +21,41 @@
{% for entity in entities %}