<%inherit file="base.html" /> <%def name="body()">

# Search Result

%if type == 'album': | Album Name | Artist Name | Format | Tracks | Date | Score | %elif type == 'artist': | Artist Name | Score %else: | Series Name | Type | Score %endif |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
%if searchresults: %for result in searchresults: <% if result['score'] == 100: grade = 'A' else: grade = 'Z' if type == 'album': albuminfo = 'Type: ' + result['rgtype'] + ', Country: ' + result['country'] caa_group_url = "http://coverartarchive.org/release-group/%s/front-250.jpg" %result['rgid'] %>
%if type == 'album': %elif type == 'artist': | %else: | %endif %if type == 'album': | ${result['title']} | ${result['uniquename']} | ${result['formats']} | ${result['tracks']} | ${result['date']} | ${result['score']} |  | ${result['albumid']} %elif type == 'artist': | ${result['uniquename']} | ${result['score']} | %else: | ${result['uniquename']} | ${result['type']} | ${result['score']} | %endif
%endfor %endif

<%def name="headIncludes()"> <%def name="javascriptIncludes()">