{% extends "news/base.html" %}
{% load i18n %}
{% load endless %}

{% block content-left %}

{% if superadmin or ca_member or secretariat_member or contributeur %}
<p><a class="btn btn-primary" href="{% url "news-add" %}"><i class="fa fa-plus"></i> {% trans "Add article" %}</a></p>
{% endif %}

{% if news %}

{% paginate news %}
{% for one_news in news %}
  
<h2><a href="{% url "ain7.news.views.details" one_news.slug %}">{{ one_news.title }}</a></h2>
  
<span class="grey" style="float:left;">{{ one_news.creation_date|date:"l j F Y" }}</span>

<br>

{% if one_news.image %}
<img src="{{ one_news.image.url }}" alt="{{ one_news.title }}" title="{{ one_news.title }}" class="image-article" style="max-width:800px;max-height:150px"/>
{% endif %}
{{ one_news.body|safe }}

<hr>
{% endfor %}
<p class="text-center">{% show_pages %}</p>

{% else %}
	<p>{% trans "No news !" %}</p>
{% endif %}

{% endblock %}

{% extends "news/base.html" %}
{% load i18n %}
{% load endless %}

{% block content-left %}

{% if superadmin or ca_member or secretariat_member or contributeur %}
<p><a class="btn btn-primary" href="{% url "news-add" %}"><i class="fa fa-plus"></i> {% trans "Add article" %}</a></p>
{% endif %}

{% if news %}

{% paginate news %}
{% for one_news in news %}
  
<h2><a href="{% url "ain7.news.views.details" one_news.slug %}">{{ one_news.title }}</a></h2>
  
<br>

{% if one_news.image %}
<img src="{{ one_news.image.url }}" alt="{{ one_news.title }}" title="{{ one_news.title }}" class="image-article" style="max-width:800px;max-height:150px"/>
{% endif %}
{{ one_news.body|safe }}

<hr>
{% endfor %}
<p class="text-center">{% show_pages %}</p>

{% else %}
	<p>{% trans "No news !" %}</p>
{% endif %}

{% endblock %}

Remove the news publication date as it's confusing
Remove the news publication date as it's confusing
