Source

christchurch_django / sermons / templates / sermons / index.html

Full commit
Luke Plant 75b3f45 
Luke Plant 2e57ee5 
Luke Plant d0b6ba0 






Luke Plant 75b3f45 

Luke Plant 2e57ee5 


Luke Plant 12d58d5 

Luke Plant 2e57ee5 

Luke Plant 75b3f45 
Luke Plant e22b3ec 

Luke Plant 75b3f45 
Luke Plant 9b7270b 
Luke Plant 75b3f45 
Luke Plant 2e57ee5 

Luke Plant 75b3f45 
{% extends "standard.html" %}
{% load pagination_tags %}

{% block title %}Sermons
  {% with title=sermonsfilter.title %}
    {% if title %} - {{ title }}{% endif %}
  {% endwith %}
{% endblock %}

{% block content %}
{{ block.super }}

{% autopaginate sermons 30 %}

{{ sermonsfilter }}

{% paginate %}

{% for sermon in sermons %}
  {% ifchanged sermon.date_delivered %}
  <h2>{{ sermon.date_delivered|date:"F j, Y" }}</h2>
  {% endifchanged %}
  <p>{{ sermon.nice_time }}: <a href="{{ sermon.sermon.url }}">{{ sermon.speaker }} {% if sermon.title %} - {{ sermon.title }}{% endif %}{% if sermon.nice_passage %} - {{ sermon.nice_passage }}{% endif %}</a></p>
{% endfor %}

{% paginate %}
{% endblock %}