diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-03-31 00:22:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 00:22:14 +0300 |
commit | ea6491028c4f90948d70ca51167f996fa6c3136a (patch) | |
tree | 2d2c58ecb1cbd67ab256ba83710cf39e15dd7e39 /plugins/SitesManager/templates | |
parent | e6bac81abdf0d32429d208ce751f0e3333bacb20 (diff) |
Improves "No data has been recorded yet" page (#11555)
* Improve 'No data recorded yet' page
* updates expected UI screenshots
* slightly improve text
* update screenshot
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/_displayJavascriptCode.twig | 16 | ||||
-rw-r--r-- | plugins/SitesManager/templates/siteWithoutData.twig | 5 |
2 files changed, 19 insertions, 2 deletions
diff --git a/plugins/SitesManager/templates/_displayJavascriptCode.twig b/plugins/SitesManager/templates/_displayJavascriptCode.twig index b5c4671c7e..a400c316ad 100644 --- a/plugins/SitesManager/templates/_displayJavascriptCode.twig +++ b/plugins/SitesManager/templates/_displayJavascriptCode.twig @@ -13,5 +13,19 @@ <p>{{ 'CoreAdminHome_JSTrackingIntro5'|translate('<a rel="noreferrer" target="_blank" href="http://piwik.org/docs/javascript-tracking/">','</a>')|raw }}</p> - <p>{{ 'Installation_JSTracking_EndNote'|translate('','')|raw }}</p> + {% if isInstall is defined %} + <p>{{ 'Installation_JSTracking_EndNote'|translate('', '')|raw }}</p> + {% else %} + <p>{{ 'CoreAdminHome_JSTracking_EndNote'|translate('<a href="' ~ linkTo({'module': 'CoreAdminHome', 'action': 'trackingCodeGenerator'}) ~'">','</a>')|raw }}</p> + {% endif %} + + <h3>{{ 'SitesManager_LogAnalytics'|translate }}</h3> + + <p>{{ 'SitesManager_LogAnalyticsDescription'|translate('<a href="https://piwik.org/log-analytics/" rel="noreferrer" target="_blank">', '</a>')|raw }}</p> + + <h3>{{ 'SitesManager_MobileAppsAndSDKs'|translate }}</h3> + + <p>{{ 'SitesManager_MobileAppsAndSDKsDescription'|translate('<a href="https://piwik.org/integrate/#programming-language-platforms-and-frameworks" rel="noreferrer" target="_blank">','</a>')|raw }}</p> + <p></p> + </div>
\ No newline at end of file diff --git a/plugins/SitesManager/templates/siteWithoutData.twig b/plugins/SitesManager/templates/siteWithoutData.twig index d8596cf0fd..bf0db36a39 100644 --- a/plugins/SitesManager/templates/siteWithoutData.twig +++ b/plugins/SitesManager/templates/siteWithoutData.twig @@ -41,7 +41,10 @@ {{ 'SitesManager_SiteWithoutDataSetupGoals'|translate('<a href="' ~ linkTo({ 'module': 'Goals', 'action': 'manage', - }) ~ '">', "</a>")|raw }} + }) ~ '">', "</a>", + '<a href="https://piwik.org/features/" rel="noreferrer" target="_blank">', "</a>", + '<a href="https://piwik.org/docs/" rel="noreferrer" target="_blank">', "</a>", + '<a href="https://piwik.org/faq/" rel="noreferrer" target="_blank">', "</a>")|raw }} </p> {{ trackingHelp|raw }} |