mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-08 23:35:54 +02:00
If admin pro defines a custom_logo_top_left image, show it instead of the default image
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<nav id="admin-sidebar">
|
||||
<div id="admin-logo">
|
||||
<h3><a href="{{ base_url_relative }}">{{ "PLUGIN_ADMIN.GRAV_ADMIN"|tu }}</a> <a target="_blank" href="{{ base_url_relative_frontend }}"> <i class="fa fa-fw fa-arrow-circle-right"></i></a></h3>
|
||||
{% if config.plugins["admin-pro"].custom_logo_top_left %}
|
||||
<a target="_blank" href="{{ base_url_relative_frontend }}"><img src="{{ base_url_relative_frontend }}/user/plugins/admin-pro/assets/{{ config.plugins["admin-pro"].custom_logo_top_left|first }}" /></a>
|
||||
{% else %}
|
||||
<h3><a href="{{ base_url_relative }}">{{ "PLUGIN_ADMIN.GRAV_ADMIN"|tu }}</a> <a target="_blank" href="{{ base_url_relative_frontend }}"> <i class="fa fa-fw fa-arrow-circle-right"></i></a></h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{#{% if admin.authorize %}#}
|
||||
|
||||
Reference in New Issue
Block a user