diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-12-08 03:11:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 03:11:42 +0300 |
commit | 5f2aaa359c70348da841c883fdcefc396dff69d4 (patch) | |
tree | 320fdd8cb5af7d76422cf5a76243b36b54456476 /plugins/SitesManager | |
parent | 2da215c65d77fb273c7899fd23e65c67bc50c4f8 (diff) |
Improve site without data page (#18462)
* Improve site without data page
* updates expected screenshots
* use less mixin for matomo font css
* fix typo
* updates expected test files
* Wording tweaks
* Updated UI test screenshots
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r-- | plugins/SitesManager/lang/en.json | 12 | ||||
-rw-r--r-- | plugins/SitesManager/stylesheets/SitesManager.less | 5 | ||||
-rw-r--r-- | plugins/SitesManager/templates/siteWithoutData.twig | 1 |
3 files changed, 12 insertions, 6 deletions
diff --git a/plugins/SitesManager/lang/en.json b/plugins/SitesManager/lang/en.json index 191e280211..51b1ada059 100644 --- a/plugins/SitesManager/lang/en.json +++ b/plugins/SitesManager/lang/en.json @@ -75,10 +75,10 @@ "ShowTrackingTag": "View Tracking code", "Sites": "Websites", "SiteSearchUse": "You can use Matomo to track and report what visitors are searching in your website's internal search engine.", - "SiteWithoutDataTitle": "No data has been recorded yet, get set up below", - "SiteWithoutDataDescription": "Only one last step to track your web traffic with Matomo and gain valuable insights. You need to add some extra code to your website or mobile app if you haven't done already. Check your option below or %1$ssend all the instructions to a team mate%2$s.", - "SiteWithoutDataSetupTracking": "Please set up the %1$stracking code%2$s below into your website or mobile app if you haven't done already.", - "SiteWithoutDataMessageDisappears": "This message will disappear as soon as some data was tracked for this website.", + "SiteWithoutDataTitle": "Only one last step to track your traffic with Matomo and gain valuable insights", + "SiteWithoutDataDescription": "You need to add some extra code to your website or mobile app if you haven't already. Check your option below or %1$ssend all the instructions to a team mate%2$s.", + "SiteWithoutDataSetupTracking": "Please set up the %1$stracking code%2$s below into your website or mobile app if you haven't already.", + "SiteWithoutDataMessageDisappears": "This message will disappear as soon as some data is tracked for this website.", "SiteWithoutDataIgnoreMessage": "Don't show this message for the next hour", "SiteWithoutDataChoosePreferredWay": "Choose your preferred way of getting set up", "SiteWithoutDataOtherWays": "Other ways", @@ -87,7 +87,7 @@ "SiteWithoutDataMatomoTagManager": "Matomo Tag Manager", "SiteWithoutDataMatomoTagManagerNotActive": "Don't know what a Tag Manager is? Check out our %1$sTag Manager guide%2$s. If you are embedding multiple resources from 3rd party websites into your website, then tracking your website using the Tag Manager may be a better choice for you compared to using the regular JavaScript tracking.", "SiteWithoutDataGoogleTagManagerDescription": "You can use Matomo with Google Tag Manager. To setup Matomo Tracking in Google Tag Manager, follow the instructions from this %1$sguide%2$s.", - "SiteWithoutDataDetectedSite": "We've detected you're using a %1$s site. Simple follow the instructions from this %2$sguide%3$s.", + "SiteWithoutDataDetectedSite": "We've detected you're using a %1$s site. Simply follow the instructions from this %2$sguide%3$s.", "SiteWithoutDataDetectedGtm": "We've also detected you're using a Google Tag Manager. If you prefer to set up Matomo using GTM please follow this %2$sguide%3$s.", "SuperUserAccessCan": "A user with Super User access can also %1$s specify global settings%2$s for new websites.", "Timezone": "Time zone", @@ -117,4 +117,4 @@ "EmailInstructionsYourTrackingUrl": "Your tracking URL: %1$s", "DetectingYourSite": "Detecting your site" } -}
\ No newline at end of file +} diff --git a/plugins/SitesManager/stylesheets/SitesManager.less b/plugins/SitesManager/stylesheets/SitesManager.less index 3fcff25546..0651e40ef4 100644 --- a/plugins/SitesManager/stylesheets/SitesManager.less +++ b/plugins/SitesManager/stylesheets/SitesManager.less @@ -118,6 +118,11 @@ td.editable-site-field:hover { } .site-without-data { + .card-title:after { + content: " \e9a5"; // icon-rocket + .matomo-icon(); + } + h3 { font-weight: bold; } diff --git a/plugins/SitesManager/templates/siteWithoutData.twig b/plugins/SitesManager/templates/siteWithoutData.twig index f5da6d405f..21665cc52c 100644 --- a/plugins/SitesManager/templates/siteWithoutData.twig +++ b/plugins/SitesManager/templates/siteWithoutData.twig @@ -27,6 +27,7 @@ <div class="site-without-data"> <div piwik-content-block content-title="{{ 'SitesManager_SiteWithoutDataTitle'|translate|e('html_attr') }}"> + <p> </p> <p>{{ 'SitesManager_SiteWithoutDataDescription'|translate('<a href="mailto:?subject=' ~ 'SitesManager_EmailInstructionsSubject'|translate|url_encode|e('html_attr') ~ '&body=' ~ emailBody|url_encode|e('html_attr') ~ '">', '</a>')|raw }}</p> <p>{{ 'SitesManager_SiteWithoutDataMessageDisappears'|translate }}</p> |