added user voice to get some feedback

This commit is contained in:
Mark Ryall
2012-10-20 12:17:29 +10:00
parent 8b6d34311a
commit 4d84eecc94
4 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -30,4 +30,5 @@ html
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
= javascript_include_tag '/fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.pack.js'
= javascript_include_tag "http://maps.googleapis.com/maps/api/js?key=#{ENV['GOOGLE_API']}&sensor=false"
= yield :javascript_includes
= yield :javascript_includes
= javascript_include_tag '/uservoice.js'
+2 -1
View File
@@ -14,4 +14,5 @@ html
= javascript_include_tag 'application'
= javascript_include_tag 'https://login.persona.org/include.js'
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
= javascript_include_tag '/uservoice.js'
+2 -1
View File
@@ -11,4 +11,5 @@ html
= yield
= javascript_include_tag 'application'
= yield :javascript_includes
= yield :javascript_includes
= javascript_include_tag '/uservoice.js'
+6
View File
@@ -0,0 +1,6 @@
var uvOptions = {};
(function() {
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/5ZpcaLisAVBrQKDlRrOA.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
})();