diff --git a/com/templates/com/news_list.jinja b/com/templates/com/news_list.jinja index 3f2444f1..385cbe32 100644 --- a/com/templates/com/news_list.jinja +++ b/com/templates/com/news_list.jinja @@ -92,20 +92,12 @@ {% endif %} -{% set coming_soon = object_list.filter(dates__start_date__gte=timezone.now()+timedelta(days=5), -type="EVENT").order_by('dates__start_date') %} -{% if coming_soon %} -

{% trans %}Coming soon... don't miss!{% endtrans %}

- {% for news in coming_soon %} -
- {{ news.title }} - {{ news.dates.first().start_date|localtime|date(DATETIME_FORMAT) }} - {{ news.dates.first().start_date|localtime|time(DATETIME_FORMAT) }} - - {{ news.dates.first().end_date|localtime|date(DATETIME_FORMAT) }} - {{ news.dates.first().end_date|localtime|time(DATETIME_FORMAT) }} -
- {% endfor %} -{% endif %} + +

{% trans %}All coming events{% endtrans %}

+ + + +
@@ -154,10 +146,6 @@ type="EVENT").order_by('dates__start_date') %}
-

{% trans %}All coming events{% endtrans %}

- - -