<%inherit file="base.html" /> <%! import mylar from mylar.helpers import checked %> <%def name="headerIncludes()">
%if explicit == 'loose': Search ALL terms Explicit Search %elif explicit == 'explicit': Loose Search Search ALL terms %elif explicit == 'all': Explicit Search Loose Search %endif
<%def name="body()">
<% if type == 'story_arc': typesel = " Story Arc" else: typesel = "" if explicit == 'loose': searchtext = "Loose Search results for:
" + name + "
" elif explicit == 'explicit': searchtext = "Explicit " + typesel.rstrip() + " Search results for:
" + name + "
" else: searchtext = "Search results for :
" + name + "
" %>

Search results${searchtext}

%if searchresults: %for result in searchresults: <% if result['comicyear'] == mylar.CURRENT_YEAR: grade = 'A' else: grade = 'Z' if result['haveit'] != "No": grade = 'H'; rtype = None if type != 'story_arc': if result['type'] == 'Digital': rtype = '[Digital]' %> %if result['deck'] == 'None' or result['deck'] is None: %if rtype is None: %else: %endif %else: %if rtype is None: %else: %endif %endif %if result['haveit'] == "No": %if type == 'story_arc': %else: %endif %else: %endif %endfor %endif
Comic Name Publisher Year Issues
${result['name']}${result['name']} ${rtype}${result['name']}${result['name']} ${rtype}${result['publisher']} ${result['comicyear']} ${result['issues']} Add this Story Arc Add this Comic Already in library
<%def name="headIncludes()"> <%def name="javascriptIncludes()">