diff options
Diffstat (limited to 'templates/news/news_detail.html')
| -rw-r--r-- | templates/news/news_detail.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/templates/news/news_detail.html b/templates/news/news_detail.html deleted file mode 100644 index f65b91e..0000000 --- a/templates/news/news_detail.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends 'base.html' %} - -{% block content %} -{% with news.comment_set.all as comments %} -<div class="quickview"/> -<h2>Détails</h2> -<ul> - <li>Auteur : <a href="/user/view/name/<?=$this->news['name']?>">{{news.author}}</a></li> -<li>Date : {{news.date}} </li> -<li><a href="#comments">{{coments}}</a></li> -</div> - -<div class="news"/> -<h1>{{news.title}}</h1> - -<div class="news_content"> -{{news.text}} -</div> - -<hr/> - -<h2 id="comments">Commentaires</h2> -{% for comment in comments %} -<h3 class="comment">Posté par <a href="/user/view/name/<?=$comment['name']?>">{{comment.author}}</a> le {{comment.date}} </h3> -<div class="comment_content"/> -{{comment.text}} -</div> -{% endfor %} - -<h2 id="add">Ajouter un commentaire</h2> - -<form class="comment_add" method="post" action="/home/view/id/<?=$this->news['id']?>/#add"> -<textarea name="content" cols="90" rows="10"> -</textarea> - -<p class="submit"><input type="submit" value="Ajouter"/></p> -</div> - -<div style="clear:both"/> -{% endwith %} -{% endblock %} |
