From 64b0546cc25786905b004b9866192c694afad725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Thu, 26 May 2016 01:09:31 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20urls=20vers=20l'an?= =?UTF-8?q?cien=20dossier=20/media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On utilise désormais les balises `{% load staticfiles %}` et `{% static ... %}` pour charger les fichiers au bon endroit. --- templates/bda/bda-attrib.html | 3 ++- templates/bda/bda-revente.html | 3 ++- templates/bda/bda-success.html | 3 ++- templates/bda2/bda-attrib.html | 3 ++- templates/bda2/bda-revente.html | 3 ++- templates/bda2/bda-success.html | 3 ++- templates/gestioncof/base.html | 4 +++- templates/gestioncof/details_demande_petit_cours.html | 3 ++- .../gestioncof/details_demande_petit_cours_infos.html | 3 ++- templates/gestioncof/inscription-petit-cours.html | 11 ++++++----- templates/gestioncof/petits_cours_demandes_list.html | 5 +++-- templates/gestioncof/registration.html | 5 +++-- .../traitement_demande_petit_cours_autre_niveau.html | 3 ++- templates/gestioncof/tristate_js.html | 7 ++++--- 14 files changed, 37 insertions(+), 22 deletions(-) diff --git a/templates/bda/bda-attrib.html b/templates/bda/bda-attrib.html index 382048c4..54cdc2b7 100644 --- a/templates/bda/bda-attrib.html +++ b/templates/bda/bda-attrib.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/bda/bda-revente.html b/templates/bda/bda-revente.html index e2a4804b..bc7542fc 100644 --- a/templates/bda/bda-revente.html +++ b/templates/bda/bda-revente.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/bda/bda-success.html b/templates/bda/bda-success.html index 004503fe..f7bbe349 100644 --- a/templates/bda/bda-success.html +++ b/templates/bda/bda-success.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/bda2/bda-attrib.html b/templates/bda2/bda-attrib.html index 2cc20a29..cd91a478 100644 --- a/templates/bda2/bda-attrib.html +++ b/templates/bda2/bda-attrib.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/bda2/bda-revente.html b/templates/bda2/bda-revente.html index e2a4804b..bc7542fc 100644 --- a/templates/bda2/bda-revente.html +++ b/templates/bda2/bda-revente.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/bda2/bda-success.html b/templates/bda2/bda-success.html index 004503fe..f7bbe349 100644 --- a/templates/bda2/bda-success.html +++ b/templates/bda2/bda-success.html @@ -1,7 +1,8 @@ +{% load staticfiles %} {% extends "base_title.html" %} {% block extra_head %} - + {% endblock %} {% block realcontent %} diff --git a/templates/gestioncof/base.html b/templates/gestioncof/base.html index 862830e4..7834cfce 100644 --- a/templates/gestioncof/base.html +++ b/templates/gestioncof/base.html @@ -1,8 +1,10 @@ +{% load staticfiles %} + {{ site.name }} - + {% block extra_head %}{% endblock %} diff --git a/templates/gestioncof/details_demande_petit_cours.html b/templates/gestioncof/details_demande_petit_cours.html index b30e3187..c12e5c53 100644 --- a/templates/gestioncof/details_demande_petit_cours.html +++ b/templates/gestioncof/details_demande_petit_cours.html @@ -1,3 +1,4 @@ +{% load staticfiles %} {% extends "base_title_petitscours.html" %} {% block realcontent %} @@ -5,7 +6,7 @@ {% include "details_demande_petit_cours_infos.html" %}
{% endif %} - + {% if proposals %}
{% csrf_token %} diff --git a/templates/gestioncof/tristate_js.html b/templates/gestioncof/tristate_js.html index 4e292f9d..17b2d09a 100644 --- a/templates/gestioncof/tristate_js.html +++ b/templates/gestioncof/tristate_js.html @@ -1,9 +1,10 @@ +{% load staticfiles %}