Projet

Général

Profil

0001-templates-add-body-classes-to-authentic-pages-34318.patch

Frédéric Péters, 25 juin 2019 14:57

Télécharger (1,55 ko)

Voir les différences:

Subject: [PATCH] templates: add body classes to authentic pages (#34318)

 templates/authentic2/accounts.html | 1 +
 templates/authentic2/base.html     | 2 ++
 templates/authentic2/login.html    | 2 ++
 3 files changed, 5 insertions(+)
templates/authentic2/accounts.html
2 2
{% load i18n %}
3 3

  
4 4
{% block title %}Gestion du compte{% endblock %}
5
{% block extra-body-class %}{{ block.super }} account-page{% endblock %}
5 6

  
6 7
{% block content %}
7 8
<div id="left" class="profile">
templates/authentic2/base.html
1 1
{% extends theme_base %}
2 2

  
3
{% block extra-body-class %}{{ block.super }} authentic-page{% endblock %}
4

  
3 5
{% block extra-body-args %}
4 6
{% block bodyargs %}
5 7
{% endblock %}
templates/authentic2/login.html
2 2
{% load i18n %}
3 3
{% load staticfiles %}
4 4

  
5
{% block extra-body-class %}{{ block.super }} login-page{% endblock %}
6

  
5 7
{% block bodyargs %}
6 8
{% endblock %}
7 9

  
8
-