0001-misc-make-platform-name-a-link-to-the-frontoffice-28.patch
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 |
- |