From 23fa64d28985582b091be54380a4f72a0956d811 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Wed, 24 Feb 2016 21:40:19 -0800 Subject: [PATCH] Change colour of grouped recently added note on checkbox toggle --- data/interfaces/default/settings.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index da399148..23b27301 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -749,8 +749,14 @@ available_notification_agents = sorted(notifiers.available_notification_agents() -

Enable to only get one TV Show or Artist notification for a batch of recently added Episodes or Tracks. Movies are unaffected.
- Note: No Season/Episode or Album/Track metadata will be available.

+

+ Enable to only get one TV Show or Artist notification for a batch of recently added Episodes or Tracks. Movies are unaffected.
+ % if config['notify_recently_added_grandparent'] == 'Checked': + Note: No Season/Episode or Album/Track metadata will be available. + % else: + Note: No Season/Episode or Album/Track metadata will be available. + % endif +

@@ -2055,6 +2061,10 @@ $(document).ready(function() { } getSchedulerTable(); + $("#notify_recently_added_grandparent").change(function () { + var c = this.checked ? '#eb8600' : '#737373'; + $('#notify_recently_added_grandparent_note').css('color', c); + }); }); \ No newline at end of file