Mercurial > public > bravenewsurf
comparison bns_website/templates/news/news_list.html @ 39:b9d6f6d930a9
Merged Chris and Brian's changes with mine.
author | Bob Mourlam <bob.mourlam@gmail.com> |
---|---|
date | Sun, 06 Nov 2011 20:28:25 -0600 |
parents | 6b4e02b8be6b ced908af601a |
children | 9ce9f77d6cde |
comparison
equal
deleted
inserted
replaced
38:6b4e02b8be6b | 39:b9d6f6d930a9 |
---|---|
6 {% navbar 'news' %} | 6 {% navbar 'news' %} |
7 <h1>News</h1> | 7 <h1>News</h1> |
8 <dl> | 8 <dl> |
9 {% for news in object_list %} | 9 {% for news in object_list %} |
10 <article id="article"><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> | 10 <article id="article"><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> |
11 <div>{{ news.content }}</div> | 11 <div>{{ news.content|safe }}</div> |
12 <small><b>{{ news.date }}</b></small> | 12 <small><b>{{ news.date }}</b></small> |
13 </article> | 13 </article> |
14 | 14 |
15 {% endfor %} | 15 {% endfor %} |
16 </dl> | 16 </dl> |