forked from saurabh/orbit4-5
Render google analytics
This commit is contained in:
parent
e2add1bc06
commit
60aef1426a
|
@ -45,6 +45,10 @@ module ApplicationHelper
|
||||||
title
|
title
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def render_google_analytics
|
||||||
|
Site.first.google_analytics.html_safe
|
||||||
|
end
|
||||||
|
|
||||||
def render_footer
|
def render_footer
|
||||||
site = Site.first
|
site = Site.first
|
||||||
footer_file = File.join('../templates', "#{@key}", "/home/footer.html.erb")
|
footer_file = File.join('../templates', "#{@key}", "/home/footer.html.erb")
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<%= javascript_include_tag "plugin/jquery.cycle2.min"%>
|
<%= javascript_include_tag "plugin/jquery.cycle2.min"%>
|
||||||
<%= javascript_include_tag "app"%>
|
<%= javascript_include_tag "app"%>
|
||||||
<%= javascript_include_tag "#{@dataApi}" if @dataApi != nil%>
|
<%= javascript_include_tag "#{@dataApi}" if @dataApi != nil%>
|
||||||
|
<%= render_google_analytics %>
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<%= javascript_include_tag "plugin/html5shiv" %>
|
<%= javascript_include_tag "plugin/html5shiv" %>
|
||||||
<%= javascript_include_tag "plugin/response.min" %>
|
<%= javascript_include_tag "plugin/response.min" %>
|
||||||
|
|
|
@ -460,6 +460,7 @@
|
||||||
$("#import-progress").delay(1000).fadeOut(300,function(){
|
$("#import-progress").delay(1000).fadeOut(300,function(){
|
||||||
$("#import-head").fadeIn(0);
|
$("#import-head").fadeIn(0);
|
||||||
$("#import-modules").fadeIn(300);
|
$("#import-modules").fadeIn(300);
|
||||||
|
$('#import-start-btn').show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue