From c5db00384264c54f9d4b795560fa9972ef4c02e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Thu, 26 May 2016 01:33:21 +0200 Subject: [PATCH] On met les balises "load" / "extends" dans l'ordre Il faut que `{% extends ... %}` soit avant `{% load ... %}` dans les templates... Cette fois plus de bug sur les templates. --- templates/bda/bda-attrib.html | 2 +- templates/bda/bda-revente.html | 2 +- templates/bda/bda-success.html | 2 +- templates/bda2/bda-attrib.html | 2 +- templates/bda2/bda-revente.html | 2 +- templates/bda2/bda-success.html | 2 +- templates/gestioncof/details_demande_petit_cours.html | 2 +- templates/gestioncof/inscription-petit-cours.html | 2 +- templates/gestioncof/petits_cours_demandes_list.html | 2 +- templates/gestioncof/registration.html | 2 +- .../gestioncof/traitement_demande_petit_cours_autre_niveau.html | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/bda/bda-attrib.html b/templates/bda/bda-attrib.html index 54cdc2b7..22f5786a 100644 --- a/templates/bda/bda-attrib.html +++ b/templates/bda/bda-attrib.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/bda/bda-revente.html b/templates/bda/bda-revente.html index bc7542fc..82ed80fe 100644 --- a/templates/bda/bda-revente.html +++ b/templates/bda/bda-revente.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/bda/bda-success.html b/templates/bda/bda-success.html index f7bbe349..ebcc87a7 100644 --- a/templates/bda/bda-success.html +++ b/templates/bda/bda-success.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/bda2/bda-attrib.html b/templates/bda2/bda-attrib.html index cd91a478..8390bd03 100644 --- a/templates/bda2/bda-attrib.html +++ b/templates/bda2/bda-attrib.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/bda2/bda-revente.html b/templates/bda2/bda-revente.html index bc7542fc..82ed80fe 100644 --- a/templates/bda2/bda-revente.html +++ b/templates/bda2/bda-revente.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/bda2/bda-success.html b/templates/bda2/bda-success.html index f7bbe349..ebcc87a7 100644 --- a/templates/bda2/bda-success.html +++ b/templates/bda2/bda-success.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/gestioncof/details_demande_petit_cours.html b/templates/gestioncof/details_demande_petit_cours.html index f310ce45..e7c59522 100644 --- a/templates/gestioncof/details_demande_petit_cours.html +++ b/templates/gestioncof/details_demande_petit_cours.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title_petitscours.html" %} +{% load staticfiles %} {% block realcontent %}

Demande de petits cours

diff --git a/templates/gestioncof/inscription-petit-cours.html b/templates/gestioncof/inscription-petit-cours.html index 84ef9618..8468d3b4 100644 --- a/templates/gestioncof/inscription-petit-cours.html +++ b/templates/gestioncof/inscription-petit-cours.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/gestioncof/petits_cours_demandes_list.html b/templates/gestioncof/petits_cours_demandes_list.html index ef97f164..b3115815 100644 --- a/templates/gestioncof/petits_cours_demandes_list.html +++ b/templates/gestioncof/petits_cours_demandes_list.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title_petitscours.html" %} +{% load staticfiles %} {% block realcontent %}

Demandes de petits cours

diff --git a/templates/gestioncof/registration.html b/templates/gestioncof/registration.html index 3ce928e8..d7205809 100644 --- a/templates/gestioncof/registration.html +++ b/templates/gestioncof/registration.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title.html" %} +{% load staticfiles %} {% block extra_head %} diff --git a/templates/gestioncof/traitement_demande_petit_cours_autre_niveau.html b/templates/gestioncof/traitement_demande_petit_cours_autre_niveau.html index 1ad9051b..39b93b4f 100644 --- a/templates/gestioncof/traitement_demande_petit_cours_autre_niveau.html +++ b/templates/gestioncof/traitement_demande_petit_cours_autre_niveau.html @@ -1,5 +1,5 @@ -{% load staticfiles %} {% extends "base_title_petitscours.html" %} +{% load staticfiles %} {% block realcontent %}

Traitement de la demande de petits cours {{ demande.id }}