[ADD] CCP's "No Character" character image as user menu image for public

This commit is contained in:
Peter Pfeufer 2023-08-05 18:51:12 +02:00
parent 32128ace1c
commit 1563805ddb
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27
2 changed files with 5 additions and 2 deletions

View File

@ -122,7 +122,7 @@ ul.list-group.list-group-horizontal > li.list-group-item {
padding-top: 0.5rem; padding-top: 0.5rem;
} }
.navbar-nav > li.top-user-menu.with-main-character a { .navbar-nav > li.top-user-menu a {
padding: 14px; padding: 14px;
} }

View File

@ -11,7 +11,10 @@
</span> </span>
{% endwith %} {% endwith %}
{% else %} {% else %}
{% translate "User Menu" %} <img class="img-rounded ra-avatar" src="{{ 1|character_portrait_url:32 }}" alt="{{ main.character_name }}">
<span class="hidden-sm hidden-md hidden-lg">
{% translate "User Menu" %}
</span>
{% endif %} {% endif %}
<span class="caret"></span> <span class="caret"></span>
</a> </a>