mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Add message to verify server for error communicating
This commit is contained in:
parent
50ce17ac72
commit
19565b3d0a
1 changed files with 6 additions and 1 deletions
|
@ -256,8 +256,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(current_activity)) {
|
if (!(current_activity)) {
|
||||||
|
% if _session['user_group'] == 'admin':
|
||||||
|
var msg_settings = ' Verify your server in the <a href="settings#tab_tabs-plex_media_server">settings</a>.';
|
||||||
|
% else:
|
||||||
|
var msg_settings = ''
|
||||||
|
% endif
|
||||||
$('#currentActivityHeader').text('');
|
$('#currentActivityHeader').text('');
|
||||||
$('#currentActivity').html('<div id="dashboard-no-activity" class="text-muted">There was an error communicating with your Plex Server.</div>');
|
$('#currentActivity').html('<div id="dashboard-no-activity" class="text-muted">There was an error communicating with your Plex Server.' + msg_settings + '</div>');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue