diff --git a/airtime_mvc/application/views/scripts/form/add-show-live-stream.phtml b/airtime_mvc/application/views/scripts/form/add-show-live-stream.phtml index 86272f3ce..1ce5b8459 100644 --- a/airtime_mvc/application/views/scripts/form/add-show-live-stream.phtml +++ b/airtime_mvc/application/views/scripts/form/add-show-live-stream.phtml @@ -21,6 +21,7 @@
diff --git a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml index bb8ac4f47..dcd56fee5 100644 --- a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml @@ -33,6 +33,7 @@
diff --git a/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml b/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml index 23d678dc5..f61c06117 100644 --- a/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml +++ b/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml @@ -68,7 +68,9 @@
- +
element->getElement('user')?> diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index 7517bb2a0..81d165a92 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -104,7 +104,7 @@ select { line-height:16px !important; } -.airtime_auth_help_icon, .custom_auth_help_icon { +.airtime_auth_help_icon, .custom_auth_help_icon, .stream_username_help_icon { cursor: help; position: relative; display:inline-block; zoom:1; diff --git a/airtime_mvc/public/js/airtime/preferences/streamsetting.js b/airtime_mvc/public/js/airtime/preferences/streamsetting.js index 2aabd635e..759702230 100644 --- a/airtime_mvc/public/js/airtime/preferences/streamsetting.js +++ b/airtime_mvc/public/js/airtime/preferences/streamsetting.js @@ -304,4 +304,25 @@ $(document).ready(function() { at: "right center" }, }) + + $(".stream_username_help_icon").qtip({ + content: { + text: "If your live streaming client does not ask for a username, this field should be 'source'." + }, + 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" + }, + }) }); diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 017640903..e367aa2a3 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -220,6 +220,26 @@ function setAddShowEvents() { at: "right center" } }); + form.find(".stream_username_help_icon").qtip({ + content: { + text: "If your live streaming client does not ask for a username, this field should be 'source'." + }, + 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')){