<% import plexpy from plexpy import version from plexpy.helpers import anon_url %> PlexPy - ${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.CURRENT_VERSION != plexpy.LATEST_VERSION and plexpy.COMMITS_BEHIND > 0 and plexpy.INSTALL_TYPE != 'win': % endif % endif
% if _session['user_group'] != 'admin': % endif ${next.headerIncludes()}
${next.body()}
% if _session['user_group'] == 'admin' and plexpy.CONFIG.BROWSER_ENABLED: % endif ${next.javascriptIncludes()} <%def name="javascriptIncludes()"> <%def name="headIncludes()"> <%def name="headerIncludes()">