Merge pull request #793 from gpodder/remove-advertise
[mygpo.git] / mygpo / directory / templates / podcast-ad-box.html
blob8dbb3b27837f496374c4e8a8e5068b923ad51cac
1 {% load cache %}
2 {% load i18n %}
3 {% load podcasts %}
5 {% if podcast_ad %}
6 {% cache 3600 podcast_ad_box %}
7 <div class="well">
9 <h4><small>{% trans "Sponsoring Podcast" %}</small></h4>
12 <a href="{% podcast_link_target podcast_ad %}">
13 <div id="podcastlogo">{{ podcast_ad|podcast_logo_medium }}</div>
14 </a>
16 <h4>{{ podcast_ad.title }}</h4>
18 <p class="description">
19 {{ podcast_ad.description|default:""|truncatewords:"50" }}
20 </p>
22 <p>
23 <a href="{% podcast_link_target podcast_ad %}">{% trans "more..." %}</a>
24 </p>
26 </div>
27 {% endcache %}
28 {% endif %}