<% import plexpy from plexpy import version from plexpy.helpers import anon_url from plexpy.notifiers import BROWSER_NOTIFIERS %> Tautulli - ${title} | ${server_name} ${next.headIncludes()}
% if _session['user_group'] == 'admin': % if plexpy.CONFIG.CHECK_GITHUB and not plexpy.CURRENT_VERSION: % elif plexpy.CONFIG.CHECK_GITHUB and plexpy.COMMITS_BEHIND > 0 and plexpy.common.BRANCH in ('master', 'beta') and plexpy.common.RELEASE != plexpy.LATEST_RELEASE: % elif plexpy.CONFIG.CHECK_GITHUB and plexpy.COMMITS_BEHIND > 0 and plexpy.CURRENT_VERSION != plexpy.LATEST_VERSION and plexpy.INSTALL_TYPE != 'win': % else: % endif % endif
${next.headerIncludes()}
${next.body()}
${next.modalIncludes()} % if _session['user_group'] != 'admin': % else: % endif % if _session['user_group'] == 'admin' and BROWSER_NOTIFIERS: % endif ${next.javascriptIncludes()} <%def name="modalIncludes()"> <%def name="javascriptIncludes()"> <%def name="headIncludes()"> <%def name="headerIncludes()">