templates: simplify {% extends %} paths as it is now possible with 1.11 (#33236)
This commit is contained in:
parent
03ecb99833
commit
d9cae88097
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/login.html" %}
|
||||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div class="cell">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../theme.html' %}
|
||||
{% extends 'theme.html' %}
|
||||
|
||||
{% block header-post %}
|
||||
<div class="departement">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../theme.html' %}
|
||||
{% extends 'theme.html' %}
|
||||
{% load static i18n combo gadjo %}
|
||||
|
||||
{% block extra_top_head %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block header-title %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block header-pre %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../combo/page_template.html' %}
|
||||
{% extends 'combo/page_template.html' %}
|
||||
|
||||
{% block user-info %}
|
||||
<div id="le">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block header-pre %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block menu %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static gnm %}
|
||||
|
||||
{% block extra_top_head %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../authentic2/base.html' %}
|
||||
{% extends 'authentic2/base.html' %}
|
||||
|
||||
{% block extra-top-head %}
|
||||
{% block extrascripts %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../registration/registration_form.html' %}
|
||||
{% extends 'registration/registration_form.html' %}
|
||||
|
||||
{% block placeholder-content %}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../authentic2/base.html' %}
|
||||
{% extends 'authentic2/base.html' %}
|
||||
|
||||
{% block extra-top-head %}
|
||||
{% block extrascripts %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../registration/registration_form.html' %}
|
||||
{% extends 'registration/registration_form.html' %}
|
||||
|
||||
{% block placeholder-content %}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block user-info %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
|
||||
{% load static i18n combo gadjo %}
|
||||
{% block extra_top_head %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block header-title %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static assets %}
|
||||
|
||||
{% block header-title %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/accounts.html" %}
|
||||
{% extends "authentic2/accounts.html" %}
|
||||
{% load i18n staticfiles %}
|
||||
|
||||
{% block extra-body-class %}authentic-page{% endblock %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block nav %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/password_change_body.html" %}
|
||||
{% extends "authentic2/password_change_body.html" %}
|
||||
|
||||
{% block warn_if_not_requested %}
|
||||
<p>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/login.html" %}
|
||||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div id="login-pre">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block psg-mon-espace %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block header-top %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../theme.html' %}
|
||||
{% extends 'theme.html' %}
|
||||
|
||||
{% block header-title %}
|
||||
{{ block.super }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/login.html" %}
|
||||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-bottom %}
|
||||
<div id="welcome-text">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/password_change_body.html" %}
|
||||
{% extends "authentic2/password_change_body.html" %}
|
||||
|
||||
{% block warn_if_not_requested %}
|
||||
<p>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../combo/page_template.html" %}
|
||||
{% extends "combo/page_template.html" %}
|
||||
{% load combo %}
|
||||
|
||||
{% block menu %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static gnm assets combo %}
|
||||
|
||||
{% block extra_top_head %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/accounts.html" %}
|
||||
{% extends "authentic2/accounts.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div id="title-section">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../registration/registration_form.html' %}
|
||||
{% extends 'registration/registration_form.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block registration-pre %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
|
||||
{% block content-pre %}
|
||||
<div id="actu">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../theme.html" %}
|
||||
{% extends "theme.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block header-pre %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "../../authentic2/base.html" %}
|
||||
{% extends "authentic2/base.html" %}
|
||||
|
||||
{% block user-info %}
|
||||
{% include "user_info.html" %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends '../../combo/page_template.html' %}
|
||||
{% extends 'combo/page_template.html' %}
|
||||
{% load combo %}
|
||||
|
||||
{% block user-info %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue