1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 15:07:44 +00:00
Files
matomo/plugins/PrivacyManager/templates/footerLinks.twig
Stefan Giehl 253bae53ab Some translations might be displayed with encoded entities (#19190)
* replace some html entities in translations sources

* Ensure encoded & is displayed correctly for some translations

* Ensure content title component handles encoded entities correctly

* fix ui test

* use arrows

* tweak some translations

* updates expected test files

* submodule update

* use htmldecode instead of inserting html for titles

* prefer using rawSafeDecoded over raw for translation output
2022-09-14 17:52:05 +02:00

8 خطوط
948 B
Twig

<div id="footerLinks">
{% if imprintUrl|default('') is not empty %}<a target="_blank" rel="noreferrer noopener" href="{{ imprintUrl|safelink|e('html_attr') }}">{{ 'PrivacyManager_Imprint'|translate }}</a>{% endif %}
{% if imprintUrl|default('') is not empty and (privacyPolicyUrl|default('') is not empty or termsAndCondition|default('') is not empty) %}|{% endif %}
{% if privacyPolicyUrl|default('') is not empty %}<a target="_blank" rel="noreferrer noopener" href="{{ privacyPolicyUrl|safelink|e('html_attr') }}">{{ 'PrivacyManager_PrivacyPolicy'|translate }}</a>{% endif %}
{% if privacyPolicyUrl|default('') is not empty and termsAndCondition|default('') is not empty %}|{% endif %}
{% if termsAndCondition|default('') is not empty %}<a target="_blank" rel="noreferrer noopener" href="{{ termsAndCondition|safelink|e('html_attr') }}">{{ 'PrivacyManager_TermsAndConditions'|translate|rawSafeDecoded }}</a>{% endif %}
</div>