From: Guillaume Pellerin Date: Thu, 3 Mar 2016 09:01:30 +0000 (+0100) Subject: place title in title block (closes #43) X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=90b02b8374ce159d87bb3bc81f68eb762f180898;p=mezzo.git place title in title block (closes #43) --- diff --git a/README.rst b/README.rst index a95c82cc..6a8fe2bd 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ On MacOSX or Windows install the `Docker Toolbox -

{{ artist.name }}

- +{% block title %} +{{ artist.name }} +{% endblock %} +{% block main %}

{% if artist.photo %} @@ -27,5 +26,4 @@ {% endfor %} Réserver

- {% endblock %} diff --git a/app/festival/templates/festival/artist_list.html b/app/festival/templates/festival/artist_list.html index 82fa089c..d8582e2b 100644 --- a/app/festival/templates/festival/artist_list.html +++ b/app/festival/templates/festival/artist_list.html @@ -2,12 +2,11 @@ {% load i18n %} {% load mezzanine_tags keyword_tags %} -{% block main %} - {% block title %} {% trans "Artists" %} {% endblock %} +{% block main %}
{% for artist in object_list %} @@ -23,5 +22,4 @@
{% endfor %} - {% endblock %} diff --git a/app/festival/templates/festival/video_detail.html b/app/festival/templates/festival/video_detail.html index e237ba7f..5a2cde49 100644 --- a/app/festival/templates/festival/video_detail.html +++ b/app/festival/templates/festival/video_detail.html @@ -2,12 +2,11 @@ {% load i18n %} {% load mezzanine_tags keyword_tags %} -{% block main %} - -
-

{{ video.title }}

-
+{% block title %} +{{ video.title }} +{% endblock %} +{% block main %}
{{ video.description }}
@@ -20,5 +19,4 @@

{% trans 'Related event' %}

{{ video.event.title }} - {% endblock %}