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

Manage Artists

selected artists

%for artist in artists: <% if artist['Status'] == 'Paused': grade = 'X' elif artist['Status'] == 'Loading': grade = 'C' else: grade = 'Z' if artist['ReleaseDate'] and artist['LatestAlbum']: releasedate = artist['ReleaseDate'] albumdisplay = '%s (%s)' % (artist['LatestAlbum'], artist['ReleaseDate']) elif artist['LatestAlbum']: releasedate = '' albumdisplay = '%s' % artist['LatestAlbum'] else: releasedate = '' albumdisplay = 'None' %> %endfor
Artist Name Status Latest Album
${artist['ArtistName']} ${artist['Status']} ${albumdisplay}
<%def name="headIncludes()"> <%def name="javascriptIncludes()">