templates: simplify {% extends %} paths as it is now possible with 1.11 (#33236)

This commit is contained in:
Frédéric Péters 2019-05-19 13:31:00 +02:00
parent 03ecb99833
commit d9cae88097
47 changed files with 47 additions and 47 deletions

2
debian/control vendored
View File

@ -9,6 +9,6 @@ Homepage: http://git.entrouvert.org/publik-base-theme.git
Package: publik-base-theme
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, python-gadjo, python-xstatic-abrilfatface
Conflicts: python-authentic2 (< 2.1.20.742.gb6ee096-0)
Conflicts: python-authentic2 (< 2.1.20.742.gb6ee096-0), python-django (<= 1:1.11)
Breaks: combo (< 0.7.1)
Description: Publik Base Theme

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/login.html" %}
{% extends "authentic2/login.html" %}
{% block login-pre %}
<div class="cell">

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% block header-post %}
<div class="departement">

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% load static i18n combo gadjo %}
{% block extra_top_head %}

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block header-title %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% block account-management-bottom-actions %}
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static %}
{% block header-pre %}

View File

@ -1,4 +1,4 @@
{% extends '../../combo/page_template.html' %}
{% extends 'combo/page_template.html' %}
{% block user-info %}
<div id="le">

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static %}
{% block header-pre %}

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block menu %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static gnm %}
{% block extra_top_head %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static assets combo %}
{% block bodyargs %}{% get_asset "header:background" as header_background %}class="{% if header_background %}has-header-background{% endif %} {% block bodyclasses %}{% endblock %}" {% block bodyattrs %}{% endblock %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends '../../authentic2/base.html' %}
{% extends 'authentic2/base.html' %}
{% block extra-top-head %}
{% block extrascripts %}

View File

@ -1,4 +1,4 @@
{% extends '../../registration/registration_form.html' %}
{% extends 'registration/registration_form.html' %}
{% block placeholder-content %}

View File

@ -1,4 +1,4 @@
{% extends '../../authentic2/base.html' %}
{% extends 'authentic2/base.html' %}
{% block extra-top-head %}
{% block extrascripts %}

View File

@ -1,4 +1,4 @@
{% extends '../../registration/registration_form.html' %}
{% extends 'registration/registration_form.html' %}
{% block placeholder-content %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% block account-management-bottom-actions %}
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block user-info %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static i18n combo gadjo %}
{% block extra_top_head %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% block account-management-bottom-actions %}
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block header-title %}

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% block header-pre %}
<a id="site-ville" href="https://www.mauguio-carnon.com/">Maugio Carnon</a>

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static assets %}
{% block header-title %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% load i18n staticfiles %}
{% block extra-body-class %}authentic-page{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block nav %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/password_change_body.html" %}
{% extends "authentic2/password_change_body.html" %}
{% block warn_if_not_requested %}
<p>

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/password_change_body.txt" %}
{% extends "authentic2/password_change_body.txt" %}
{% block warn_if_not_requested %}
Si vous n'êtes pas à l'origine de cette demande, contactez-nous imédiatement

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% block header-top %}
{% if metropole_url %}
<div class="metropole-link"><a href="{{ metropole_url }}">Orléans-Métropole.fr</a></div>

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/login.html" %}
{% extends "authentic2/login.html" %}
{% block login-pre %}
<div id="login-pre">

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block psg-mon-espace %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static %}
{% block header-top %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% block account-management-bottom-actions %}
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/login.html" %}
{% extends "authentic2/login.html" %}
{% block login-pre %}
<h1 id="login-title">Se connecter<br> <span>avec mes identifiants Quimper+</span></h1>

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% block header-title %}
{{ block.super }}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/login.html" %}
{% extends "authentic2/login.html" %}
{% block login-bottom %}
<div id="welcome-text">

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/password_change_body.html" %}
{% extends "authentic2/password_change_body.html" %}
{% block warn_if_not_requested %}
<p>

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/password_change_body.txt" %}
{% extends "authentic2/password_change_body.txt" %}
{% block warn_if_not_requested %}
Si vous n'aviez pas demandé le changement de votre mot de passe, vous pouvez

View File

@ -1,4 +1,4 @@
{% extends "../../combo/page_template.html" %}
{% extends "combo/page_template.html" %}
{% load combo %}
{% block menu %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static gnm assets combo %}
{% block extra_top_head %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/accounts.html" %}
{% extends "authentic2/accounts.html" %}
{% block content %}
<div id="title-section">

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/login.html" %}
{% extends "authentic2/login.html" %}
{% block login-pre %}
<div class="a2-block" id="registration-title"><h2>Se connecter</h2>

View File

@ -1,4 +1,4 @@
{% extends '../../registration/registration_form.html' %}
{% extends 'registration/registration_form.html' %}
{% load i18n %}
{% block registration-pre %}

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% block content-pre %}
<div id="actu">

View File

@ -1,4 +1,4 @@
{% extends "../../theme.html" %}
{% extends "theme.html" %}
{% load static %}
{% block header-pre %}

View File

@ -1,4 +1,4 @@
{% extends "../../authentic2/base.html" %}
{% extends "authentic2/base.html" %}
{% block user-info %}
{% include "user_info.html" %}

View File

@ -1,4 +1,4 @@
{% extends '../../combo/page_template.html' %}
{% extends 'combo/page_template.html' %}
{% load combo %}
{% block user-info %}

View File

@ -1,4 +1,4 @@
{% extends '../../theme.html' %}
{% extends 'theme.html' %}
{% block header-top %}
<a id="vincennes-fr" href="https://www.vincennes.fr/">vincennes.fr</a>