diff options
author | Peter Zhang <peter@innocraft.com> | 2022-02-14 03:44:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 03:44:29 +0300 |
commit | f6b343d980128f51a736755751249470fc7b9db5 (patch) | |
tree | c4221e4143407aec9a53113c6e018d11b60e790a /plugins/Installation | |
parent | 9e47cd0259d17f961a534029a3e322ef97d0da9a (diff) |
[UI]update market place wording and UI (#18527)
* update market place.
update market place.
* update language
update language
* revert language change
revert language change
* Update plugins/Marketplace/lang/en.json
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* update screenshots
update screenshots
* update wording and array
update wording and array
* Update getPremiumFeatures.twig
remove red color
* update bundle special label
update bundle special label
* built vue files
* Update GetPremiumFeatures.php
update to fits php 8.0
* Update UserPermissionsEdit.vue
update tests error
* built vue files
* Update UserPermissionsEdit.vue
p to br
* built vue files
* Update UserPermissionsEdit.vue
revert change
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
Diffstat (limited to 'plugins/Installation')
-rw-r--r-- | plugins/Installation/Controller.php | 1 | ||||
-rw-r--r-- | plugins/Installation/templates/finished.twig | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index 413d77aeb6..91b0283c19 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -458,7 +458,6 @@ class Controller extends \Piwik\Plugin\ControllerAdmin $view->addForm($form); $view->showNextStep = false; - $view->linkToProfessionalServices = StaticContainer::get('Piwik\ProfessionalServices\Advertising')->getPromoUrlForProfessionalServices($medium = 'App_InstallationFinished'); $output = $view->render(); return $output; diff --git a/plugins/Installation/templates/finished.twig b/plugins/Installation/templates/finished.twig index 52d7c8fd46..79d02318d1 100644 --- a/plugins/Installation/templates/finished.twig +++ b/plugins/Installation/templates/finished.twig @@ -20,10 +20,10 @@ {% if areAdsForProfessionalServicesEnabled %} <h3>{{ 'Installation_ProfessionalServicesAdTitle'|translate }}</h3> <p> - {{ 'Installation_ProfessionalServicesfessionalServicesAdText'|translate }} + {{ 'Installation_ProfessionalServicesfessionalServicesAdText'|translate('<a rel="noreferrer noopener" target="_blank" href="https://plugins.matomo.org/premium?pk_campaign=App_ProfessionalServices&pk_medium=App_InstallationFinished&pk_source=Matomo_App">','</a>','<a rel="noreferrer noopener" target="_blank" href="https://matomo.org/support-plans/?pk_campaign=App_ProfessionalServices&pk_medium=App_InstallationFinished&pk_source=Matomo_App">')|raw }} </p> <p> - {{ 'Installation_ProfessionalServicesfessionalDiscoverHow'|translate('<a rel="noreferrer noopener" target="_blank" href="' ~ linkToProfessionalServices ~ '">','</a>')|raw }} + {{ 'Installation_ProfessionalServicesfessionalDiscoverHow'|translate('<a rel="noreferrer noopener" target="_blank" href="https://matomo.org/matomo-cloud/?pk_campaign=App_ProfessionalServices&pk_medium=App_InstallationFinished&pk_source=Matomo_App">','</a>')|raw }} </p> {% endif %} |