Mercurial > public > sg101
view gpp/templates/bulletins/bulletins.html @ 365:cdfa3ed59600
Fixing #181; flagged comments need raw_id_fields for the user and comment foreign keys.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Mar 2011 04:17:43 +0000 |
parents | 04377c5bf912 |
children |
line wrap: on
line source
{% load humanize %} {% for bulletin in bulletins %} <div class="bulletin" id="bulletin-{{ bulletin.id }}"> <h3>{{ bulletin.title }}</h3> <div class="bulletin-text"> {{ bulletin.text|safe }} </div> <p class="bulletin-meta">Posted: {{ bulletin.start_date|naturalday|capfirst }} {{ bulletin.start_date|date:"H:i" }}.</p> </div> {% endfor %}