1 {% extends
"base.html" %}
11 {% block mainmenu %}{{
"/directory/"|main_menu }}{% endblock %}
12 {% block sectionmenu %}{{
"/directory/"|section_menu }}{% endblock %}
16 <style language=
"text/css">
29 .carousel div.logo img
43 {% block title %}{% trans
"Explore" %}{% endblock %}
46 <h1>{% trans
"Explore" %}
</h1>
52 {% cache
3600 carousel %}
54 <div id=
"myCarousel" class=
"carousel slide">
55 <!-- Carousel items -->
56 <div class=
"carousel-inner">
58 {% for c in topics.categories %}
60 <div class=
"item {% if forloop.first %}active{% endif %}" >
62 <div style=
"height: 290px; overflow: hidden">
63 {% for podcast in c.get_podcasts_more %}
65 <div class=
"logo" style=
"float: left;">
66 <a data-original-title=
"{{ podcast.title }}" href=
"{% podcast_link_target podcast %}" rel=
"tooltip" data-placement=
"bottom">
67 {{ podcast|podcast_logo_medium }}
74 <br style=
"clear: both;" />
76 <div class=
"carousel-caption">
77 <h4>{{ c.label }}
</h4>
78 {% for podcast in c.get_podcasts|slice:
":5" %}
79 {% podcast_group_link podcast %},
81 <a href=
"{% url "directory
" c.label %}">{% trans
"..." %}
</a>
89 <a class=
"carousel-control left" href=
"#myCarousel" data-slide=
"prev">‹</a>
90 <a class=
"carousel-control right" href=
"#myCarousel" data-slide=
"next">›</a>
100 {% block javascript %}
102 <script type=
"text/javascript">
104 $(document
).ready(function () {
105 if ($("[rel=tooltip]").length
) {
106 $("[rel=tooltip]").tooltip();