% for section in config['home_sections']:
% if section == 'current_activity':
Activity
Checking for activity...
% elif section == 'watch_stats':
Watch Statistics
% if config['home_stats_type'] == 0:
% else:
% endif
Lastdays
Topitems
Loading stats...
% elif section == 'library_stats':
Library Statistics
${config['pms_name']}
Loading stats...
% elif section == 'recently_added':
Recently Added
items
Looking for new items...
% endif
% endfor
%def>
<%def name="modalIncludes()">
% if _session['user_group'] == 'admin' and config['update_show_changelog']:
PlexPy Updated
% endif
% if _session['user_group'] == 'admin':
Terminate Session
Are you sure you want to terminate this session?
% endif
%def>
<%def name="javascriptIncludes()">
% if 'current_activity' in config['home_sections']:
% endif
% if 'watch_stats' in config['home_sections']:
% endif
% if 'library_stats' in config['home_sections']:
% endif
% if 'recently_added' in config['home_sections']:
% endif
% if _session['user_group'] == 'admin' and config['update_show_changelog']:
% endif
%def>