Projet

Général

Profil

0001-cap-atlantique-add-a-button-to-return-on-portal-6233.patch

Emmanuel Cazenave, 02 mars 2022 17:24

Télécharger (1,43 ko)

Voir les différences:

Subject: [PATCH] cap-atlantique: add a button to return on portal (#62331)

 static/cap-atlantique/_custom.scss               |  2 +-
 .../cap-atlantique/authentic2/accounts.html      | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 templates/variants/cap-atlantique/authentic2/accounts.html
static/cap-atlantique/_custom.scss
224 224
//
225 225
.page-template-neutral {
226 226
	#top,
227
	#nav > * {
227
	#nav > *:not(#back-portal) {
228 228
		display: none;
229 229
	}
230 230
	h1, h2 {
templates/variants/cap-atlantique/authentic2/accounts.html
1
{% extends "authentic2/accounts.html" %}
2

  
3
{% block menu_right %}
4
<ul id="back-portal">
5
  <li>
6
    <a href="{% firstof home_url portal_url %}">Retourner au portail</a>
7
  </li>
8
</ul>
9
{% endblock %}
10

  
11
{% block content %}
12
<div id="title-section">
13
  <h1>Gestion du compte</h1>
14
</div>
15
{{ block.super }}
16
{% endblock %}
0
-