1 {% extends
"base.html" %}
10 {% block mainmenu %}{{
"/directory/"|main_menu }}{% endblock %}
11 {% block sectionmenu %}{{
"/directory/"|section_menu }}{% endblock %}
13 {% block title %}{% trans
"Podcast Directory" %}{% endblock %}
16 <h1>{% trans
"Podcast Directory" %}
</h1>
21 {% for c in topics.categories %}
23 {% if forloop.counter0|divisibleby:
"2" %}
27 <div class=
"col-md-6">
28 {% if c.cls ==
"PodcastList" %}
29 {% url
"user" c.username as user-lists-url %}
30 <h2>{% blocktrans with c.title as listtitle and c.username as username %}{{ listtitle }}
<span class=
"by-user">by
<a href=
"{{ user-lists-url }}">{{ username }}
</a></span>{% endblocktrans %}
</h2>
32 <h2>{{ c.title }}
</h2>
36 {% for entry in c.podcasts|slice:
":10" %}
38 <td class=
"logo">{{ entry.podcast|podcast_logo }}
</td>
39 <td>{% podcast_group_link entry.podcast %}
</td>
45 {% if c.cls ==
"PodcastList" %}
46 <a href=
"{% url "list-show
" c.username c.slug %}">{% trans
"more..." %}
</a>
48 <a href=
"{% url "directory
" c.clean_title %}">{% trans
"more..." %}
</a>
55 {% if forloop.counter|divisibleby:
"2" %}
61 <hr style=
"clear: both;"/>
64 {% for category in topics.tagcloud %}
65 <span style=
"font-size: {% smartwidthratio category.num_entries topics.min_entries topics.max_entries 4 1 %}em">
66 <a href=
"{% url "directory
" category.clean_title %}">{{ category.title }}
</a>
75 {% for podcastlist in podcastlists %}
76 {% if podcastlist and podcastlist.user.username %}
79 <a href=
"{% url "list-show
" podcastlist.user.username podcastlist.slug %}">
80 {{ podcastlist.title }}
82 <small>{% trans
"Podcast List by" %}
83 <a href=
"{% url "lists-user
" podcastlist.user.username %}">
84 {{ podcastlist.user.username }}
89 <div class=
"logo-group">
90 {% for podcast in podcastlist.podcasts %}
92 <a href=
"{% podcast_link_target podcast %}">
93 {{ podcast|podcast_logo }}
98 {% if podcastlist.more_podcasts %}
99 {% blocktrans with podcastlist.more_podcasts as more %}and {{ more }} more{% endblocktrans %}
103 <div class=
"btn-group">
104 <a class=
"btn btn-primary" href=
"{% url "lists-overview
" %}">
105 {% trans
"Create a Podcast List" %}
113 {% if random_podcast %}
116 <h4><small>{% trans
"Random" %}
</small></h4>
119 <a href=
"{% podcast_link_target random_podcast %}">
120 <div id=
"podcastlogo">{{ random_podcast|podcast_logo_medium }}
</div>
123 <h4>{{ random_podcast.title }}
</h4>
125 <p class=
"description">
126 {{ random_podcast.description|default:
""|truncatewords:
"50" }}
130 <a href=
"{% podcast_link_target random_podcast %}">{% trans
"more..." %}
</a>