• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisão5d7db84eb10aaeabf7f0071f91ab3a1f32c21923 (tree)
Hora2011-09-02 01:16:10
AutorKyle Adams <kadams@geek...>
CommiterKyle Adams

Mensagem de Log

[#2713] Moved custom JS before _trackPageview call.

Signed-off-by: Kyle Adams <kadams@geek.net>

Mudança Sumário

Diff

--- a/Allura/allura/templates/widgets/analytics.html
+++ b/Allura/allura/templates/widgets/analytics.html
@@ -8,9 +8,9 @@
88 {% if c.app and c.app.config -%}
99 _gaq.push(['_setCustomVar', 1, 'Page Type', '{{c.app.config.tool_name}}', 3])
1010 {%- endif %}
11+ {{theme_macros.custom_ga_js(c.user|default, c.project|default)}}
1112 _gaq.push(['_trackPageview']);
1213 _gaq.push(['_trackPageLoadTime']);
13- {{theme_macros.custom_ga_js(c.user|default, c.project|default)}}
1414 (function() {
1515 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1616 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';