[% IF customViewSelect %] [% customViewSelect %] [% ELSIF levelName == 'album' || levelName == 'age' %]
[% 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 controlGraphics %] [% IF artwork %] [% ELSE %] [% END %] [% ELSE %] ([% IF artwork -%][% "SWITCH_TO_LIST" | string %] [%- ELSE -%][% "SWITCH_TO_GALLERY" | string %] [%- END %]) [% END %]
[% END %]