Mercurial > public > bravenewsurf
view bns_website/templates/news/news_list.html @ 25:72bfeac8f4f3
Adding robots.txt.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 01 Nov 2011 18:22:34 -0500 |
parents | 1357c69e887d |
children | ced908af601a 6b4e02b8be6b |
line wrap: on
line source
{% extends 'base.html' %} {% load core_tags %} {% block title %}News{% endblock %} {% block custom_css %} <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css"> {% endblock %} {% block custom_js %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <script type="text/javascript"> $(function() { $("#accordion").accordion({active: false}); }); </script> {% endblock %} {% block content %} {% navbar 'news' %} <h1>News</h1> <dl> {% for news in object_list %} <div class="alert-message block-message info"> <dt><h2>{{ news.title }} {% if news.is_new %}<span class="label success">New</span>{% endif %}</h2> </dt> <dd>{{ news.content|linebreaksbr }}</dd> <p align="right"> <span class="label">{{news.date}}</span></p> </div> <p/> {% endfor %} </dl> {% endblock %}