Commit c96490fb authored by fred's avatar fred

rename sounds section to podcasts, and use new cms page as podcasts page

parent 030ed34a
......@@ -3,7 +3,7 @@
<h3 class="sectionLabel right">
<a href="{% url 'listenArchives' %}"><span class="iconLabel">Tous</span></a>
</h3>
<h3 class="sectionLabel">{% if cell.title %}{{ cell.title }}{% else %}{% trans 'Latest Sounds' %}{% endif %}
<h3 class="sectionLabel">{% if cell.title %}{{ cell.title }}{% else %}{% trans 'Latest Podcasts' %}{% endif %}
<a class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h3>
{% if include_search_input %}
......
......@@ -9,9 +9,9 @@
<span class="nav-icon icon-bullhorn resymbol" ></span>
<span class="iconLabel">{% trans 'News' %}</span>
</a></li>
<li class="{% if sectionName == "Listen" %}active{% endif %}"><a title="Derniers contenus écoutables publiés" href="{% url 'listen' %}">
<li class="{% if sectionName == "Listen" %}active{% endif %}"><a title="Derniers podcasts publiés" href="/podcasts/">
<span class="nav-icon icon-headphones resymbol" ></span>
<span class="iconLabel">{% trans 'Sounds' %}</span>
<span class="iconLabel">{% trans 'Podcasts' %}</span>
</a></li>
<li class="{% if sectionName == "Topiks" %}active{% endif %}"><a href="/topiks/">
<span class="nav-icon icon-bolt" ></span>
......
{% extends "base.html" %}
{% load paniktags staticfiles thumbnail i18n %}
{% block title %}{% trans 'Sounds' %}{% endblock %}
{% block title %}{% trans 'Podcasts' %}{% endblock %}
{% block toptitle %}
<h1 class="top bg-title"><a href="{% url 'listen' %}">{% trans 'Sounds' %}</a></h1>
<h1 class="top bg-title"><a href="{% url 'listen' %}">{% trans 'Podcasts' %}</a></h1>
{% endblock %}
{% block nav %}
{% endblock %}
......
......@@ -28,8 +28,9 @@ urlpatterns = [
views.nonstop_playlist, name='nonstop-playlist'),
url(r'^emissions/(?P<slug>[\w,-]+)/$', views.emission, name='emission-view'),
url(r'^emissions/archives$', views.emissionsArchives, name='emissionsArchives'),
url(r'^sons/$', views.listen, name='listen'),
url(r'^sons/archives/$', search.listenArchives, name='listenArchives'),
url(r'^sons/$', RedirectView.as_view(url='/podcasts/'), name='listen'),
url(r'^sons-old/$', views.listen),
url(r'^podcasts/archives/$', search.listenArchives, name='listenArchives'),
url(r'^actus/$', views.news, name='news'),
url(r'^actus/agenda/$', views.agenda, name='agenda'),
url(r'^actus/agenda/(?P<year>[0-9]{4})/(?P<month>[0-9]+)/$',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment