Projet

Général

Profil

0001-misc-make-platform-name-a-link-to-the-frontoffice-28.patch

Frédéric Péters, 25 novembre 2018 14:42

Télécharger (1,44 ko)

Voir les différences:

Subject: [PATCH] misc: make platform name a link to the frontoffice (#28306)

 gadjo/static/css/gadjo.scss     | 4 ++++
 gadjo/templates/gadjo/root.html | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
gadjo/static/css/gadjo.scss
155 155
		color: black;
156 156
		padding: 0 2em;
157 157
		text-transform: uppercase;
158
		a {
159
			border: none;
160
			color: $font-color;
161
		}
158 162
	}
159 163
	@media screen and (max-width: $mobile-limit) {
160 164
		.ui-platform-name, .ui-avatar, .ui-name, .ui-help {
gadjo/templates/gadjo/root.html
27 27
    {% block user-links %}
28 28
    <ul class="user-info">
29 29
      {% if global_title %}
30
        <li class="ui-platform-name">{{ global_title }}</li>
30
        <li class="ui-platform-name">{% if portal_url %}<a href="{{portal_url}}">{{ global_title }}</a>{% else %}{{ global_title }}{% endif %}</li>
31 31
      {% endif %}
32 32
      {% if user.is_authenticated %}
33 33
        <li class="ui-avatar">{{ user.get_full_name|slice:":1" }}</li>
34
-