<%inherit file="base.html"/> <%! import os from mylar import db import mylar %> <%def name="headerIncludes()">
Refresh Comic Delete Comic %if mylar.RENAME_FILES: Rename Files %endif Recheck Files %if comic['Status'] == 'Paused': Resume Comic %else: Pause Comic %endif %if annuals: Delete Annuals %endif
<%def name="body()">

%if comic['Status'] == 'Loading': loading %endif
${comic['ComicName']} (${comic['ComicYear']}) %if comic['Status'] == 'Loading':

(Comic information is currently being loaded)

%endif

%if comic['ComicPublisher'] == 'DC Comics': DC %elif comic['ComicPublisher'] == 'Marvel': Marvel %elif comic['ComicPublisher'] == 'Image': Image %elif comic['ComicPublisher'] == 'Dark Horse Comics' or comic['ComicPublisher'] == 'Dark Horse': Darkhorse %elif comic['ComicPublisher'] == 'IDW Publishing': IDW %elif comic['ComicPublisher'] == 'Icon': Icon %elif comic['ComicPublisher'] == 'Red5': Red5 %elif comic['ComicPublisher'] == 'Vertigo': Vertigo %elif comic['ComicPublisher'] == 'ShadowLine': Shadowline %elif comic['ComicPublisher'] == 'Archie Comics': Archie %elif comic['ComicPublisher'] == 'Oni Press': Oni Press %elif comic['ComicPublisher'] == 'Tokyopop': Tokyopop %elif comic['ComicPublisher'] == 'Midtown Comics': Midtown %elif comic['ComicPublisher'] == 'Boom! Studios': Boom! %elif comic['ComicPublisher'] == 'Skybound': Skybound %elif comic['ComicPublisher'] == 'Vertigo': Dynamite %elif comic['ComicPublisher'] == 'Top Cow': Top Cow %elif comic['ComicPublisher'] == 'Dynamite Entertainment': Dynamite %elif comic['ComicPublisher'] == 'Cartoon Books': Cartoon Books %endif

%if comic['ComicPublisher'] == 'DC Comics': DC %elif comic['ComicPublisher'] == 'Marvel': Marvel %elif comic['ComicPublisher'] == 'Image': Image %elif comic['ComicPublisher'] == 'Dark Horse Comics': Darkhorse %elif comic['ComicPublisher'] == 'IDW Publishing': IDW %endif
<% if comic['UseFuzzy'] == "0" or comic['UseFuzzy'] is None: fuzzy = "None" fuzzy_year = "0" elif comic['UseFuzzy'] == "1": fuzzy = "Remove Year" fuzzy_year = "1" elif comic['UseFuzzy'] == "2": fuzzy = "Fuzzy Year" fuzzy_year = "2" %>
%if comic['ComicPublisher'] == 'DC Comics': DC %elif comic['ComicPublisher'] == 'Marvel': Marvel %elif comic['ComicPublisher'] == 'Image': Image %elif comic['ComicPublisher'] == 'Dark Horse Comics': Darkhorse %elif comic['ComicPublisher'] == 'IDW Publishing': IDW %endif




the directory where all the comics are located for this particular comic

Alternate comic names to be searched in case naming is different (ie. Hack/Slash = hack-slash)

Mark selected issues as selected issues
%for issue in issues: <% if issue['Status'] == 'Skipped': grade = 'Z' elif issue['Status'] == 'Wanted': grade = 'X' elif issue['Status'] == 'Snatched': grade = 'C' elif issue['Status'] == 'Downloaded': grade = 'A' elif issue['Status'] == 'Archived': grade = 'A' else: grade = 'A' %> %endfor
IntIssNum Number Name Date Status Options
${issue['Int_IssueNumber']} ${issue['Issue_Number']} ${issue['IssueName']} ${issue['IssueDate']} ${issue['Status']} %if issue['Status'] == 'Downloaded' or issue['Status'] == 'Archived': <%Csize = mylar.helpers.human_size(issue['ComicSize'])%> %endif %if issue['Status'] == 'Skipped': %elif (issue['Status'] == 'Wanted'): %elif (issue['Status'] == 'Snatched'): %elif (issue['Status'] == 'Downloaded'): %if issue['inCacheDIR']: <% try: with open(os.path.join(mylar.CACHE_DIR,issue['Location'])) as f: linky = issue['Location'] except IOError as e: linky = None %> %if linky: %else: %endif %else: %endif %else: %endif
%if annuals:

Annuals

Mark selected issues as selected issues
%for annual in annuals: <% if annual['Status'] == 'Skipped': grade = 'Z' elif annual['Status'] == 'Wanted': grade = 'X' elif annual['Status'] == 'Snatched': grade = 'C' elif annual['Status'] == 'Downloaded': grade = 'A' elif annual['Status'] == 'Archived': grade = 'A' else: grade = 'A' %> <% if annual['Int_IssueNumber'] is None: annual_Number = annual['Int_IssueNumber'] else: annual_Number = annual['Int_IssueNumber'] - 100000 %> %endfor
Int_IssNumber Number Name Date Status Options
${annual_Number} ${annual['Issue_Number']} ${annual['IssueName']} ${annual['IssueDate']} ${annual['Status']} %if annual['Status'] == 'Downloaded' or annual['Status'] == 'Archived': <%Csize = mylar.helpers.human_size(annual['ComicSize'])%> %endif %if annual['Status'] == 'Skipped': %elif (annual['Status'] == 'Wanted'): %elif (annual['Status'] == 'Snatched'): %elif (annual['Status'] == 'Read'): %else: %endif
%endif <%def name="headIncludes()"> %if comic['Status'] == 'Loading': %endif <%def name="javascriptIncludes()">