misc: make platform name a link to the frontoffice (#28306)
This commit is contained in:
parent
e88bb930a8
commit
84a4a23913
|
@ -155,6 +155,10 @@ ul.user-info {
|
|||
color: black;
|
||||
padding: 0 2em;
|
||||
text-transform: uppercase;
|
||||
a {
|
||||
border: none;
|
||||
color: $font-color;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: $mobile-limit) {
|
||||
.ui-platform-name, .ui-avatar, .ui-name, .ui-help {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{% block user-links %}
|
||||
<ul class="user-info">
|
||||
{% if global_title %}
|
||||
<li class="ui-platform-name">{{ global_title }}</li>
|
||||
<li class="ui-platform-name">{% if portal_url %}<a href="{{portal_url}}">{{ global_title }}</a>{% else %}{{ global_title }}{% endif %}</li>
|
||||
{% endif %}
|
||||
{% if user.is_authenticated %}
|
||||
<li class="ui-avatar">{{ user.get_full_name|slice:":1" }}</li>
|
||||
|
|
Loading…
Reference in New Issue