<%inherit file="base.html"/> <%! import os import mylar from mylar.helpers import checked %> <%def name="headerIncludes()">
%if mylar.TAB_ENABLE: Sync %endif Remove Read Clear File Cache Search for Missing Search for Watchlist matches %if cvarcid: Refresh Story Arc %endif
<%def name="body()">

Story Arc ManagementStory Arc Management

${storyarcname}


Arcs in StoryArc Directory: <% sdir = os.path.join(mylar.DESTINATION_DIR, "StoryArcs") %>${sdir}



%for item in readlist: <% if item['Status'] == 'Skipped': grade = 'Z' elif item['Status'] == 'Wanted': grade = 'X' elif item['Status'] == 'Snatched': grade = 'C' elif item['Status'] == 'Downloaded': grade = 'A' elif item['Status'] == 'Archived': grade = 'A' elif item['Status'] == 'Ignored': grade = 'A' elif item['Status'] == 'Failed': grade = 'C' elif item['Status'] == 'Read': grade = 'C' elif item['Status'] == 'Not Watched': grade = 'X' else: grade = 'Z' %> <% try: if item['IssueDate'] != '0000-00-00' and item['IssueDate'] is not None: issueyear = item['IssueDate'][:4] else: if item['StoreDate'] != '0000-00-00' and item['StoreDate'] is not None: issueyear = item['IssueDate'][:4] else: # this is needed for imported cbl's try: issueyear = item['issueYEAR'] except: issueyear = '0000' except: issueyear = '0000' %> %endfor
ComicName Issue Pub Year Status Options
${item['ReadingOrder']} ${item['ComicName']} (${item['SeriesYear']}) ${item['IssueNumber']}${issueyear} ${item['Status']} %if item['Status'] is None or item['Status'] == None: Grab it %elif item['Status'] == 'Snatched': Retry %endif
<%def name="headIncludes()"> <%def name="javascriptIncludes()">