Updated extensions templates
authorThierry Florac <tflorac@ulthar.net>
Fri, 18 Jan 2019 09:37:44 +0100
changeset 510 ebb267a3c91b
parent 509 d157f898b1b6
child 511 7441e75678e3
Updated extensions templates
src/pyams_skin/viewlet/extension/templates/analytics.pt
src/pyams_skin/viewlet/extension/templates/tag-manager.pt
src/pyams_skin/viewlet/extension/templates/user_report.pt
--- a/src/pyams_skin/viewlet/extension/templates/analytics.pt	Thu Jan 17 10:01:17 2019 +0100
+++ b/src/pyams_skin/viewlet/extension/templates/analytics.pt	Fri Jan 18 09:37:44 2019 +0100
@@ -2,7 +2,7 @@
 <script type="text/javascript">
 
 	var _gaq = _gaq || [];
-	_gaq.push(['_setAccount', '<tal:var content="view.config.website_id" />']);
+	_gaq.push(['_setAccount', '${view.config.website_id}']);
 	_gaq.push(['_trackPageview']);
 
 	(function () {
--- a/src/pyams_skin/viewlet/extension/templates/tag-manager.pt	Thu Jan 17 10:01:17 2019 +0100
+++ b/src/pyams_skin/viewlet/extension/templates/tag-manager.pt	Fri Jan 18 09:37:44 2019 +0100
@@ -12,6 +12,6 @@
 		j.async = true;
 		j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
 		f.parentNode.insertBefore(j, f);
-	})(window, document, 'script', 'dataLayer', '<tal:var content="view.config.container_id" />');
+	})(window, document, 'script', 'dataLayer', '${view.config.container_id}');
 </script>
-<!-- End Google Tag Manager -->
+<!-- end Google Tag Manager -->
--- a/src/pyams_skin/viewlet/extension/templates/user_report.pt	Thu Jan 17 10:01:17 2019 +0100
+++ b/src/pyams_skin/viewlet/extension/templates/user_report.pt	Fri Jan 18 09:37:44 2019 +0100
@@ -2,7 +2,7 @@
 <script type="text/javascript">
 
 	var _urq = _urq || [];
-	_urq.push(['initSite', '<tal:var content="view.config.account_id" />']);
+	_urq.push(['initSite', '${view.config.account_id}']);
 
 	(function () {
 		var ur = document.createElement('script');