<%inherit file="base.html"/> <%! from mylar import helpers %> <%def name="body()"> %for comic in comics: <% totaltracks = comic['Total'] havetracks = comic['Have'] if not havetracks: havetracks = 0 try: percent = (havetracks*100.0)/totaltracks if percent > 100: percent = 100 except (ZeroDivisionError, TypeError): percent = 0 totaltracks = '?' if comic['Status'] == 'Paused': grade = 'X' if comic['Status'] == 'Loading': grade = 'L' else: grade = 'A' %> %endfor
Publisher Comic Year Status Latest Issue Have
${comic['ComicPublisher']} ${comic['ComicName']} ${comic['ComicYear']} ${comic['Status']} # ${comic['LatestIssue']} (${comic['LatestDate']})
${havetracks}/${totaltracks}
<%def name="headIncludes()"> <%def name="javascriptIncludes()">