mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 04:57:40 +02:00
Fix showing custom image in top left in admin
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<nav id="admin-sidebar">
|
||||
<div id="admin-logo">
|
||||
{% 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 }}" /></a>
|
||||
<a target="_blank" href="{{ base_url_relative_frontend }}"><img src="{{ base_url_relative_frontend == '/' ? '/' : base_url_relative_frontend ~ '/'}}{{ config.plugins["admin-pro"].custom_logo_top_left }}" /></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 %}
|
||||
|
||||
Reference in New Issue
Block a user