1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/CoreHome/templates/_logo.twig
Thomas Steur 0969b1dc1b Remove "open source web analytics" tooltip in app logo when a custom logo is uploaded (#14620)
refs DEV-1702
This way it won't be shown when using eg white label etc.
2019-07-03 12:56:19 +02:00

18 خطوط
1012 B
Twig

<span id="logo" class="logo brand-logo {% if centeredLogo is defined and centeredLogo %}center{% endif %}">
{% if logoLink is not defined or logoLink is not empty %}
<a href="{{ logoLink|default('index.php') }}" tabindex="-1"
title="{% if isCustomLogo %}{{ 'General_PoweredBy'|translate }} {% endif %}Matomo{% if not isCustomLogo %} # {{ 'General_OpenSourceWebAnalytics'|translate }}{% endif %}"
>
{% endif %}
{% if hasSVGLogo %}
<img src='{{ logoSVG }}?matomo' tabindex="3"
alt="{% if isCustomLogo %}{{ 'General_PoweredBy'|translate }} {% endif %}Matomo"
class="{% if not isCustomLogo %}default-piwik-logo{% endif %}" />
{% else %}
<img src='{% if useLargeLogo|default(false) %}{{ logoLarge }}{% else %}{{ logoHeader }}{% endif %}?matomo' alt="{% if isCustomLogo %}{{ 'General_PoweredBy'|translate }} {% endif %}Matomo" />
{% endif %}
{% if logoLink is not defined or logoLink is not empty %}
</a>
{% endif %}
</span>