summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-26 13:03:42 -0700
committerStan Hu <stanhu@gmail.com>2019-08-26 15:46:14 -0700
commitf6058981919ab431e7c1e053b5ae6119a9a24e30 (patch)
tree9c30fd02530101d406388bc3755ee6ed8813a959 /app
parentf68730239765cefb565ba3242992813ca5d5be75 (diff)
downloadgitlab-ce-f6058981919ab431e7c1e053b5ae6119a9a24e30.tar.gz
Fix Piwik not workingsh-fix-piwik-template
Due to indentation, the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31402 broke the templating of Piwik script header. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66627
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/_piwik.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_piwik.html.haml b/app/views/layouts/_piwik.html.haml
index 2cb2e23433d..361a7b03180 100644
--- a/app/views/layouts/_piwik.html.haml
+++ b/app/views/layouts/_piwik.html.haml
@@ -11,5 +11,5 @@
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
- <noscript><p><img src="//#{extra_config.piwik_url}/piwik.php?idsite=#{extra_config.piwik_site_id}" style="border:0;" alt="" /></p></noscript>
- <!-- End Piwik Code -->
+<noscript><p><img src="//#{extra_config.piwik_url}/piwik.php?idsite=#{extra_config.piwik_site_id}" style="border:0;" alt="" /></p></noscript>
+<!-- End Piwik Code -->