Loading registered devices...
@@ -2558,6 +2558,15 @@ $(document).ready(function() {
$('body').on('click', 'a[data-tab-destination]', function () {
var tab = $(this).data('tab-destination');
$("a[href=#" + tab + "]").click();
+ var scroll_destination = $(this).data('target');
+ if (scroll_destination) {
+ if ($(scroll_destination).closest('.advanced-setting').length && !$('#menu_link_show_advanced_settings').hasClass('active')) {
+ $('#menu_link_show_advanced_settings').click()
+ }
+ var body_container = $('.body-container')
+ var scroll_pos = scroll_destination ? body_container.scrollTop() + $(scroll_destination).offset().top - 100 : 0;
+ body_container.animate({scrollTop: scroll_pos});
+ }
});
});
diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py
index 422508d4..6d1ca7a4 100644
--- a/plexpy/notifiers.py
+++ b/plexpy/notifiers.py
@@ -960,8 +960,8 @@ class ANDROIDAPP(Notifier):
config_option.append({
'label': 'Device',
'description': 'No devices registered. '
- '
'
- 'Get the Android App and register a device.',
+ '
Get the Android App and register a device.',
'input_type': 'help'
})
else:
@@ -970,8 +970,8 @@ class ANDROIDAPP(Notifier):
'value': self.config['device_id'],
'name': 'androidapp_device_id',
'description': 'Set your Android app device or '
- '
'
- 'register a new device with Tautulli.',
+ '
register a new device with Tautulli.',
'input_type': 'select',
'select_options': devices
})
@@ -1224,7 +1224,9 @@ class DISCORD(Notifier):
'value': self.config['incl_card'],
'name': 'discord_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.',
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
{'label': 'Include Plot Summaries',
@@ -1574,7 +1576,9 @@ class FACEBOOK(Notifier):
'value': self.config['incl_card'],
'name': 'facebook_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.',
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
{'label': 'Movie Link Source',
@@ -1895,7 +1899,9 @@ class HIPCHAT(Notifier):
'value': self.config['incl_card'],
'name': 'hipchat_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.
'
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.
'
'Note: This will change the notification type to HTML and emoticons will no longer work.',
'input_type': 'checkbox'
},
@@ -2114,7 +2120,9 @@ class JOIN(Notifier):
'value': self.config['incl_poster'],
'name': 'join_incl_poster',
'description': 'Include a poster with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.',
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
{'label': 'Movie Link Source',
@@ -3223,7 +3231,9 @@ class SLACK(Notifier):
'value': self.config['incl_card'],
'name': 'slack_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.',
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
{'label': 'Include Plot Summaries',
@@ -3455,7 +3465,9 @@ class TWITTER(Notifier):
'value': self.config['incl_poster'],
'name': 'twitter_incl_poster',
'description': 'Include a poster with the notifications.
'
- 'Note: Image hosting must be enabled under the notifications settings tab.',
+ 'Note:
Image Hosting '
+ 'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
}
]