Mercurial > public > bravenewsurf
comparison bns_website/templates/news/news_list.html @ 29:ced908af601a
Adding support for the TinyMCE javascript editor in the admin for news and reviews apps.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 04 Nov 2011 19:26:48 -0500 |
parents | 1357c69e887d |
children | b9d6f6d930a9 |
comparison
equal
deleted
inserted
replaced
27:a5e8741452a3 | 29:ced908af601a |
---|---|
21 <dl> | 21 <dl> |
22 {% for news in object_list %} | 22 {% for news in object_list %} |
23 <div class="alert-message block-message info"> | 23 <div class="alert-message block-message info"> |
24 <dt><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> | 24 <dt><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> |
25 </dt> | 25 </dt> |
26 <dd>{{ news.content|linebreaksbr }}</dd> | 26 <dd>{{ news.content|safe }}</dd> |
27 <p align="right"> <span class="label">{{news.date}}</span></p> | 27 <p align="right"> <span class="label">{{news.date}}</span></p> |
28 </div> | 28 </div> |
29 <p/> | 29 <p/> |
30 {% endfor %} | 30 {% endfor %} |
31 </dl> | 31 </dl> |