Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Style tweaks

  • Loading branch information...
commit dee9f1a874184c6d4253046db9c2c17a8ff0a5f5 1 parent 761fe58
@jcroft authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 podcast/templates/podcast/show_detail.html
View
11 podcast/templates/podcast/show_detail.html
@@ -3,10 +3,15 @@
{% block content %}
<h2>{{ show.title }}</h2>
- <ul>
+ <table>
+ <th class="numeric">#</th>
+ <th>Title</th>
{% for episode in episodes %}
- <li><a href="{{ episode.get_absolute_url }}">{{ episode.title }}</a></li>
+ <tr>
+ <td class="numeric">{{ forloop.counter }}</td>
+ <td><a href="{{ episode.get_absolute_url }}">{{ episode.title }}</a></td>
+ </tr>
{% endfor %}
- </ul>
+ </table>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.