Projet

Général

Profil

0001-rouen-metropole-add-a-link-to-return-on-portal-62791.patch

Emmanuel Cazenave, 15 mars 2022 17:01

Télécharger (1,49 ko)

Voir les différences:

Subject: [PATCH] rouen-metropole: add a link to return on portal(#62791)

 static/rouen-metropole/_custom.scss                    | 10 +++++++++-
 .../variants/rouen-metropole/authentic2/base.html      |  9 +++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100644 templates/variants/rouen-metropole/authentic2/base.html
static/rouen-metropole/_custom.scss
200 200
			display: none;
201 201
		}
202 202
	}
203
	div#nav-wrapper {
203
	div.gru-nav-wrapper {
204
		background: $gray-light;
205
		li:hover > a {
206
			background-color: $gray-light;
207
			color: black;
208
			text-decoration: underline;
209
		}
210
	}
211
	#nav > *:not(#back-portal) {
204 212
		display: none;
205 213
	}
206 214

  
templates/variants/rouen-metropole/authentic2/base.html
1
{% extends "authentic2/base.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 %}
0
-