%inherit file="base.html"/>
<%!
import mylar
from mylar import db
from mylar.helpers import checked
%>
<%def name="headerIncludes()">
« Back to overview
%def>
<%def name="body()">
%if wantedcount == 0:
Weekly Pull list for week ${weekinfo['weeknumber']} :${weekinfo['startweek']} - ${weekinfo['endweek']}
%else:
Weekly Pull list for week ${weekinfo['weeknumber']} :${weekinfo['startweek']} - ${weekinfo['endweek']} (${wantedcount})
%endif
Publisher
Comic
Number
Status
%for weekly in weeklyresults:
<%
if weekly['STATUS'] == 'Skipped':
grade = 'Z'
elif weekly['STATUS'] == 'Wanted':
grade = 'X'
elif weekly['STATUS'] == 'Snatched':
grade = 'C'
elif weekly['STATUS'] == 'Downloaded':
grade = 'D'
else:
grade = 'A'
if weekly['AUTOWANT'] == True:
grade = 'H'
#if the comicid is present, but issue isn't marked as wanted.
if weekly['HAVEIT'] == 'Yes' and weekly['STATUS'] == 'Skipped':
grade = 'E'
%>
%if pullfilter is True:
${weekly['PUBLISHER']}
%if weekly['HAVEIT'] == 'No':
${weekly['COMIC']}
%else:
${weekly['COMIC']}
%endif
${weekly['ISSUE']}
%if weekly['AUTOWANT']:
Auto-Want
%else:
${weekly['STATUS']}
%if weekly['STATUS'] == 'Skipped':
%if weekly['COMICID'] != '' and weekly['COMICID'] is not None:
add series
%else:
%if weekly['ISSUE'] == '1' or weekly['ISSUE'] == '0':
Watch
%else:
add series
%endif
%endif
one off
%endif
%endif
%endif
%endfor
%def>
<%def name="headIncludes()">
%def>
<%def name="javascriptIncludes()">
%def>