From 00cf2bf1745c6c0c5ea53a7d93fb135cc1990ace Mon Sep 17 00:00:00 2001 From: evilhero Date: Tue, 2 Jul 2013 01:50:14 -0400 Subject: [PATCH] FIX:ReadingList table not defined, IMP:added icon for Readinglists, IMP:mock-empty directory for comictaggerlib --- data/interfaces/default/artistredone.html | 149 ++++++++++++++++-- .../default/images/ReadingList-icon.png | Bin 0 -> 34023 bytes data/interfaces/default/importlog.html | 12 ++ ...ut.entire.comictaggerlib.directory.in.here | 1 + mylar/__init__.py | 1 + 5 files changed, 146 insertions(+), 17 deletions(-) create mode 100755 data/interfaces/default/images/ReadingList-icon.png create mode 100755 data/interfaces/default/importlog.html create mode 100644 lib/comictaggerlib/put.entire.comictaggerlib.directory.in.here diff --git a/data/interfaces/default/artistredone.html b/data/interfaces/default/artistredone.html index 5e0ac09d..6d40a0cf 100755 --- a/data/interfaces/default/artistredone.html +++ b/data/interfaces/default/artistredone.html @@ -62,7 +62,7 @@ - + %if comic['ComicPublisher'] == 'DC Comics': DC @@ -131,7 +131,13 @@
-
+ +
+
+ +
+ + @@ -252,6 +258,19 @@ + + %if annuals: + +
+ + %endif + + +
@@ -261,7 +280,10 @@
-
+ %if annuals: +
+ %endif +
Mark selected issues as + IntIssNum Number Name Date @@ -306,6 +329,7 @@ + ${issue['Int_IssueNumber']} ${issue['Issue_Number']} ${issue['IssueName']} ${issue['IssueDate']} @@ -351,9 +375,24 @@ %endfor - - %if annuals: - +
+ +
+ %if annuals: +
+
+ + + + @@ -366,12 +405,28 @@ %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' + %> + + - +
${annual['Issue_Number']} ${annual['IssueName']} ${annual['IssueDate']}${annual['Status']}${annual['Status']} %if annual['Status'] == 'Downloaded' or annual['Status'] == 'Archived': <%Csize = mylar.helpers.human_size(annual['ComicSize'])%> @@ -379,7 +434,7 @@ %if annual['Status'] == 'Skipped': - + %elif (annual['Status'] == 'Wanted'): %elif (annual['Status'] == 'Snatched'): @@ -397,10 +452,9 @@ %endfor
- %endif -
- -
+
+
+ %endif <%def name="headIncludes()"> @@ -414,8 +468,63 @@ <%def name="javascriptIncludes()"> - + +