{% extends "base.html" %}
{% load i18n staticfiles mezzanine_tags %}

{% block full_width_content %}
    {% if sermon_series %}
        <h2>Sermon Series</h2>
        <table class="table table-hover table-condensed">
            <thead>
                <tr>
                    <th></th>
                    <th>Title</th>
                    <th>Bible Passage</th>
                    <th>Description</th>
                    <th>Year</th>
                </tr>
            </thead>
            <tbody>
                {% for series in sermon_series %}
                    <tr class="sermon_series_row" onclick="window.document.location='{% url 'sermons:series' series.id %}';">
                        {% if series.image %}
                        <td><img src="{{ MEDIA_URL }}{% thumbnail series.image 0 100 %}"></td>
                        {% else %}
                        <td></td>
                        {% endif %}
                        <td>{{ series.title }}</td>
                        <td>{{ series.bible_passage }}</td>
                        <td>{{ series.description|truncatechars:30 }}...</td>
                        <td>{{ series.start_date.year }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    {% endif %}
{% endblock %}
{% extends "base.html" %}
{% load i18n staticfiles mezzanine_tags %}

{% block full_width_content %}
    {% if sermon_series %}
        <table class="table table-hover table-condensed">
            <thead>
                <tr>
                    <th></th>
                    <th>Title</th>
                    <th>Bible Passage</th>
                    <th>Description</th>
                    <th>Year</th>
                </tr>
            </thead>
            <tbody>
                {% for series in sermon_series %}
                    <tr class="sermon_series_row" onclick="window.document.location='{% url 'sermons:series' series.id %}';">
                        {% if series.image %}
                        <td><img src="{{ MEDIA_URL }}{% thumbnail series.image 0 100 %}"></td>
                        {% else %}
                        <td></td>
                        {% endif %}
                        <td>{{ series.title }}</td>
                        <td>{{ series.bible_passage }}</td>
                        <td>{{ series.description|truncatechars:30 }}...</td>
                        <td>{{ series.start_date.year }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    {% endif %}
{% endblock %}
Remove title to allow proper Mezzanine hookup
Remove title to allow proper Mezzanine hookup
