From 950cc6d6b72a77f55bb675f66fe0ae0b832f6cb1 Mon Sep 17 00:00:00 2001 From: denise Date: Tue, 28 May 2013 14:18:26 -0400 Subject: [PATCH] CC-5177: Create "?" icon beside linked show check box --- airtime_mvc/public/css/styles.css | 2 +- .../public/js/airtime/schedule/add-show.js | 24 +++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index 0c4af6cf4..837c08d1c 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -125,7 +125,7 @@ select { .airtime_auth_help_icon, .custom_auth_help_icon, .stream_username_help_icon, .playlist_type_help_icon, .master_username_help_icon, .repeat_tracks_help_icon, -.admin_username_help_icon, .stream_type_help_icon { +.admin_username_help_icon, .stream_type_help_icon, .show_linking_help_icon { cursor: help; position: relative; display:inline-block; zoom:1; diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index ee60274b9..fd2625559 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -192,7 +192,8 @@ function setAddShowEvents() { $(this).parent().after(""); } }); - + + form.find("#add_show_linked-label").before(""); form.find("#add_show_record").click(function(){ $(this).blur(); @@ -315,7 +316,26 @@ function setAddShowEvents() { at: "right center" } }); - + form.find(".show_linking_help_icon").qtip({ + content: { + text: $.i18n._("By linking your repeating shows any media items scheduled in any repeat show will also get scheduled in the other repeat shows") + }, + hide: { + delay: 500, + fixed: true + }, + style: { + border: { + width: 0, + radius: 4 + }, + classes: "ui-tooltip-dark ui-tooltip-rounded" + }, + position: { + my: "left bottom", + at: "right center" + } + }); function endDateVisibility(){ if(form.find("#add_show_no_end").is(':checked')){ form.find("#add_show_end_date").hide();