view gpp/templates/bulletins/bulletins.html @ 480:1a7ca5fa494f

Fixing #229: Download details view with a bogus download ID produces internal server error isntead of a 404.
author Brian Neal <bgneal@gmail.com>
date Wed, 05 Oct 2011 00:09:30 +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 %}