<%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)
<% year_options = "Default - Keep the Year as is\nYear Removal - Remove issue publication year from searches (dangerous)\nFuzzy the Year - Increase & Decrease the issue publication year by one" %>
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' elif issue['Status'] == 'Ignored': 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' or issue['Status'] == 'Ignored': %elif (issue['Status'] == 'Wanted'): %elif (issue['Status'] == 'Snatched'): %elif (issue['Status'] == 'Downloaded'): <% if issue['Location'] is not None: linky = os.path.join(comic['ComicLocation'],issue['Location']) if not os.path.isfile(linky): linky = None else: linky = None %> %if linky: %endif %else: %endif
%if annuals:

Annuals

%for aninfo in annualinfo: ${aninfo['annualComicName']} %endfor
Mark selected annuals as selected annuals
%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 <% amode = 'want_ann' %>
%endif %if mylar.ANNUALS_ON:
%endif <%def name="headIncludes()"> %if comic['Status'] == 'Loading': %endif <%def name="javascriptIncludes()">