aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/news_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news/news_list.html')
-rw-r--r--templates/news/news_list.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/templates/news/news_list.html b/templates/news/news_list.html
deleted file mode 100644
index 2119a68..0000000
--- a/templates/news/news_list.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends 'base.html' %}
-
-{% block content %}
-<div class="news">
- {% for news in news_list %}
- <div class="news_head">
- <h2><a href="{% url news-details pk=news.id %}">{{ news.title }}</a></h2>
- <!--div style="float:right"><a href="/home/edit/id/<?=$news['ident']?>">Modifier cette actualité</a></div-->
- <p>Posté par <a href="/user/view/name/<?=$news['name']?>">{{ news.author.username }}</a> le {{ news.date }}</p>
- </div>
-
- <p class="comments">{% with news.comment__count as comment_count %}
- <a href="{% url news-details pk=news.id %}#comment">{{ comment_count }} commentaire{{comment_count|pluralize}}</a> |
- <a href="{% url news-details pk=news.id %}#add">Ajouter un commentaire</a>
- </p>{% endwith %}
-
- <div class="news_content">
- {{ news.text }}
- </div>
- {% endfor %}
-</div>
-<div style="clear:both"/>
-{% endblock %}