Mercurial > public > bravenewsurf
view 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 |
line wrap: on
line source
{% extends 'base.html' %} {% load core_tags %} {% block title %}News{% endblock %} {% block content %} {% navbar 'news' %} <h1>News</h1> <dl> {% for news in object_list %} <article id="article"><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> <div>{{ news.content|safe }}</div> <small><b>{{ news.date }}</b></small> </article> {% endfor %} </dl> {% endblock %}