[%# IF levelName == 'album' || levelName == 'age' || levelName == 'contributor' %] [% IF levelName == 'album' || levelName == 'age' %] [% IF artwork < 3 %] [%# skip this section for now %] [% IF levelName == 'album' %]
[% orderByList = { 'album.titlesort' => 'ALBUM', 'album.year,album.titlesort' => 'SORT_YEARALBUM', 'album.year,contributor.namesort,album.titlesort' => 'SORT_YEARARTISTALBUM', 'contributor.namesort,album.titlesort' => 'SORT_ARTISTALBUM', 'contributor.namesort,album.year,album.titlesort' => 'SORT_ARTISTYEARALBUM', 'genre.namesort,album.titlesort' => 'SORT_GENREALBUM', 'genre.namesort,contributor.namesort,album.titlesort' => 'SORT_GENREARTISTALBUM', } %] [% IF NOT noLabel %][% "SORT_BY" | string %][% END %]
[% END %] [% IF artwork < 2 %] [% IF controlGraphics %]
[% IF artwork %] [% ELSE %] [% END %] [% ELSE %] ([% IF artwork -%][% "SWITCH_TO_LIST" | string %] [%- ELSE -%][% "SWITCH_TO_GALLERY" | string %] [%- END %]) [% END %]
[% END %] [% END %] [% END %]