Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Weise <wedi@users.noreply.github.com>2020-12-31 05:34:33 +0300
committerGitHub <noreply@github.com>2020-12-31 05:34:33 +0300
commit28085aa33ef19679b542636ecb59f4ceca4aa471 (patch)
tree7265363042a715759d5ea9a7e84e428ac0782d02 /plugins/PrivacyManager/templates
parented70bf6d937277b05ec1b11fdcd3fa9ea7c570a9 (diff)
Add imprint URL to Template.pageFooter (#16966)
* Add imprint URL to Template.pageFooter * Remove German translation Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'plugins/PrivacyManager/templates')
-rw-r--r--plugins/PrivacyManager/templates/footerLinks.twig2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/PrivacyManager/templates/footerLinks.twig b/plugins/PrivacyManager/templates/footerLinks.twig
index 61425ebdb0..5754e4f97f 100644
--- a/plugins/PrivacyManager/templates/footerLinks.twig
+++ b/plugins/PrivacyManager/templates/footerLinks.twig
@@ -1,4 +1,6 @@
<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 }}</a>{% endif %}