<%inherit file="base.html"/> <%! from mylar import helpers, db import datetime import decimal %> <%def name="body()">
%for comic in comics: <% if comic['percent'] == 101: css = '
' if comic['percent'] == 100: css = '
' if comic['percent'] < 100: css = '
' if any([comic['haveissues'] == 'None', comic['haveissues'] is None]): hissues = 0 else: hissues = comic['haveissues'] if any([comic['totalissues'] == 'None', comic['totalissues'] is None]): tissues = 0 else: tissues = comic['totalissues'] comic_percent = comic['percent'] if comic['Status'] == 'Paused': grade = 'T' elif comic['Status'] == 'Loading': grade = 'L' elif comic['Status'] == 'Error': grade = 'X' else: grade = 'A' comicpub = comic['ComicPublisher'] try: if len(comic['ComicPublisher']) > 15: comicpub = comic['ComicPublisher'][:15] + '...' except: pass comicname = comic['ComicSortName'] try: if len(comic['ComicSortName']) > 55: comicname = comic['ComicSortName'][:55] + '...' except: pass %>
%endfor
Publisher Comic Year Last Issue Published Have Status Active
${comicpub} ${comicname} ${comic['ComicYear']} # ${comic['LatestIssue']} ${comic['LatestDate']} ${css}
${comic['haveissues']}/${comic['totalissues']}
${comic['recentstatus']} %if comic['Status'] == "Active": Y %elif comic['Status'] == 'Paused': Paused %elif comic['Status'] == 'Loading': Loading %else: N %endif
<%def name="headIncludes()"> <%def name="javascriptIncludes()">