Files @ 0b9ab6970cbf
Branch filter:

Location: website/conservancy/podjango/templates/podjango/cast/cast_list.html

bsturmfels
Remove deprecated `ifequal` and `ifnotequal` tags

These have been replaced by `{% if x == y %}` type tags.
<!-- FIXME: SFLC specific content -->
<!--  Copyright (C) 2008       Bradley M. Kuhn <bkuhn@ebb.org> -->
<!-- Permission is granted to copy, modify, redistribute, propagate,  -->
<!-- and/or convey this template in any form. -->
{% extends "podjango/base_podcast.html" %}

{% block subtitle %}The Corresponding Source - {% endblock %}

{% block content %}

<h1>{% include 'podjango/feed_links.inc.html' %} <a href="{% url 'podjango:cast-home' %}">The Corresponding Source</h1>

{% if tags %}
<p>Displaying casts
tagged {% for tag in tags %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if forloop.revcounter == 2 %} or {% endif %}{% endfor %}
</p>
{% endif %}

{% for object in object_list %}
    <div class="pa2 mb2" style="background: #F0FFB8">
    <h3>
<a class="feedlink" href="{{ object.ogg_path }}">{% include 'podjango/audio_ogg_button.inc.html' %}</a>
<a class="feedlink" href="{{ object.mp3_path }}">{% include 'podjango/audio_mp3_button.inc.html' %}</a>

<a href="{{ object.get_absolute_url }}">{{ object.title|safe }}</a></h3>
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
    <h4>Summary</h4>

    {{ object.summary|safe }}

    <p>
    This show was released on {{ object.pub_date|date:"l j F Y" }}; its
    running time is {{ object.duration}}.</p>
    <h4>Show Notes</h4>
    <div>
      {{ object.body|safe }}
    </div>

    {% if object.tags.all %}<p class="cast-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
    </div>
{% endfor %}

<p>
{% if has_next %}<a class="next_page_button" href="?page={{ next }}{% if query_string %}&amp;{{ query_string|escape }}{% endif %}">Next page (older) &raquo;</a>{% endif %}
{% if has_previous %}<a href="?page={{ previous }}{% if query_string %}&amp;{{ query_string|escape }}{% endif %}">&laquo; Previous page (newer)</a>{% endif %}
</p>
<div class="clear"></div>

{% if date_list %}
<h3>Index by date</h3>
<ul>
{% for year in date_list %}<li><a href="{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %}
</ul>
{% endif %}

{% endblock %}