mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 04:49:36 -07:00
Hide update notification from guests
This commit is contained in:
parent
d58dfec5ea
commit
6fe115fd0d
1 changed files with 3 additions and 1 deletions
|
@ -135,6 +135,7 @@ from plexpy.helpers import anon_url
|
||||||
<body class="content">
|
<body class="content">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="ajaxMsg" class="ajaxMsg"></div>
|
<div id="ajaxMsg" class="ajaxMsg"></div>
|
||||||
|
% if _session['user_group'] == 'admin':
|
||||||
% if plexpy.CONFIG.CHECK_GITHUB and not plexpy.CURRENT_VERSION:
|
% if plexpy.CONFIG.CHECK_GITHUB and not plexpy.CURRENT_VERSION:
|
||||||
<div id="updatebar" style="display: none;">
|
<div id="updatebar" style="display: none;">
|
||||||
You're running an unknown version of PlexPy.<br />
|
You're running an unknown version of PlexPy.<br />
|
||||||
|
@ -148,6 +149,7 @@ from plexpy.helpers import anon_url
|
||||||
<a href="update">Update</a> or <a href="#" id="updateDismiss">Close</a>
|
<a href="update">Update</a> or <a href="#" id="updateDismiss">Close</a>
|
||||||
</div>
|
</div>
|
||||||
% endif
|
% endif
|
||||||
|
% endif
|
||||||
<nav class="navbar navbar-fixed-top">
|
<nav class="navbar navbar-fixed-top">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
@ -377,4 +379,4 @@ ${next.javascriptIncludes()}
|
||||||
|
|
||||||
<%def name="javascriptIncludes()"></%def>
|
<%def name="javascriptIncludes()"></%def>
|
||||||
<%def name="headIncludes()"></%def>
|
<%def name="headIncludes()"></%def>
|
||||||
<%def name="headerIncludes()"></%def>
|
<%def name="headerIncludes()"></%def>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue