From cc542797c7f5d94dd75f1bfcff47854c4105ed59 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 24 Jun 2011 17:26:37 -0400 Subject: [PATCH] CC-2425:Tweaks to phone home metric - Done --- .../application/views/scripts/form/preferences_support.phtml | 2 +- .../application/views/scripts/form/register-dialog.phtml | 2 +- airtime_mvc/public/js/airtime/nowplaying/register.js | 4 ++++ airtime_mvc/public/js/airtime/preferences/preferences.js | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/views/scripts/form/preferences_support.phtml b/airtime_mvc/application/views/scripts/form/preferences_support.phtml index f1d3d95e7..fb4f8473d 100644 --- a/airtime_mvc/application/views/scripts/form/preferences_support.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences_support.phtml @@ -15,7 +15,7 @@ -
By checking this box, I agree to Sourcefabric's privacy policy.
+
By checking this box, I agree to Sourcefabric's privacy policy.
Click the box below to advertise your station on Sourcefabric.org. In order to publicise your station, "Send support feedback" must be enabled diff --git a/airtime_mvc/public/js/airtime/nowplaying/register.js b/airtime_mvc/public/js/airtime/nowplaying/register.js index 62555ea87..44459392d 100644 --- a/airtime_mvc/public/js/airtime/nowplaying/register.js +++ b/airtime_mvc/public/js/airtime/nowplaying/register.js @@ -59,6 +59,10 @@ $(document).ready(function(){ $("#link_to_whos_using").live('click', function(){ window.open("http://sourcefabric.org/en/products/airtime_whosusing"); }); + + $("#link_to_privacy").live('click', function(){ + window.open("http://www.sourcefabric.org/en/about/policy/"); + }); }); function validateFields(){ diff --git a/airtime_mvc/public/js/airtime/preferences/preferences.js b/airtime_mvc/public/js/airtime/preferences/preferences.js index 97a1cd876..d2b1f30a4 100644 --- a/airtime_mvc/public/js/airtime/preferences/preferences.js +++ b/airtime_mvc/public/js/airtime/preferences/preferences.js @@ -55,4 +55,8 @@ $(document).ready(function() { }); showErrorSections(); + + $("#link_to_privacy").live('click', function(){ + window.open("http://www.sourcefabric.org/en/about/policy/"); + }); });