view gpp/templates/bulletins/bulletins.html @ 468:ad4b63fbc584

Adding a basic forums test that exercises adding a new topic, post, and editing a post.
author Brian Neal <bgneal@gmail.com>
date Sun, 07 Aug 2011 03:38:42 +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 %}