-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #343 from AgID/fix/modify_plugin_sitesmanager_twig
fix Data tabs Site Manager template
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="row no-data-tabs-main-div"> | ||
<div id="tracking-code" class="col s12"> | ||
<p>{{ 'CoreAdminHome_JSTracking_CodeNoteBeforeClosingHead'|translate("</head>")|raw }}</p> | ||
<div> | ||
<pre matomo-copy-to-clipboard>{{ jsTag|raw }}</pre> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{% extends "dashboard.twig" %} | ||
|
||
{% block notification %} | ||
{% include "@CoreHome/_notifications.twig" %} | ||
{% endblock %} | ||
|
||
{% block topcontrols %} | ||
{% include "@CoreHome/_siteSelectHeader.twig" %} | ||
{% endblock %} | ||
|
||
{% set bodyId = 'site-without-data' %} | ||
|
||
{% block content %} | ||
|
||
<div class="site-without-data"> | ||
<h1 id="start-tracking-data-header"> | ||
{{ 'SitesManager_SiteWithoutDataStartTrackingDataHeader'|translate }} | ||
</h1> | ||
<p>{{ 'SitesManager_SiteWithoutDataStartTrackingDataDescriptionLine2'|translate('<a rel="noreferrer noopener" class="ignoreSitesWithoutData" href="' ~ linkTo({module: 'SitesManager', action: 'ignoreNoDataMessage'}) ~'">', '</a>')|raw }}</p> | ||
<p> </p> | ||
|
||
<div piwik-widget-loader='{"module":"SitesManager","action":"siteWithoutDataTabs"}' loading-message="{{ 'SitesManager_DetectingYourSite'|translate|e('html_attr') }}..."></div> | ||
|
||
{% set afterIntroEventContent %}{{ postEvent('Template.siteWithoutData.afterIntro') }}{% endset %} | ||
<div class="no-data-footer row"> | ||
{% if afterIntroEventContent %} | ||
<hr/> | ||
{% endif %} | ||
{{ afterIntroEventContent }} | ||
</div> | ||
{{ postEvent('Template.siteWithoutData.afterTrackingHelp') }} | ||
</div> | ||
|
||
{% endblock %} |