<% import plexpy from plexpy import version %>
${next.headIncludes()}
% if plexpy.CONFIG.CHECK_GITHUB and not plexpy.CURRENT_VERSION:
You're running an unknown version of PlexPy. Update or Close
% elif plexpy.CONFIG.CHECK_GITHUB and plexpy.CURRENT_VERSION != plexpy.LATEST_VERSION and plexpy.COMMITS_BEHIND > 0 and plexpy.INSTALL_TYPE != 'win':
A newer version is available. You're ${plexpy.COMMITS_BEHIND} commits behind. Update or Close
% endif
${next.headerIncludes()} ${next.body()}
${next.javascriptIncludes()}
<%def name="javascriptIncludes()"> <%def name="headIncludes()"> <%def name="headerIncludes()">