Once again I can't get it right.
I bought the ePub for a old paperbook and now I want to have both symbols for #format and #quelle (=source) displayed in the column.
Instead, unfortunately, none is displayed at all.
Generally asked, how are multiple entries of a column displayed?
Code:
program:
def add_icon(icon, val):
if icon == '' then icon = val else icon = icon & ':' & val fi;
return icon
fed;
icon = '';
if $languages == 'eng' then icon = add_icon(icon, 'uk.png') fi;
icon = add_icon(
icon,
switch(
$$#toread,
'true', 'toread.png',
'false', 'false.png',
''));
# $$ ist raw_field()
if $$#formats == 'paper' then icon = add_icon(icon, 'paper.png') fi;
if $$#formats == 'epub' then icon = add_icon(icon, 'epub.png') fi;
if $$#formats == 'pdf' then icon = add_icon(icon, 'pdf.png') fi;
if $$#read == 'true' then icon = add_icon(icon, 'ok.png') fi;
if $$#quelle == 'geniallokal' then icon = add_icon(icon, 'geniallokal.png') fi;
if $$#quelle == 'wbg' then icon = add_icon(icon, 'wbg.png') fi;
if $$#quelle == 'RKH' then icon = add_icon(icon, 'rkh.png') fi;
if $$#readinglist != '' then icon = add_icon(icon, 'reading_list.png') fi;
if $$#annots != 'NONE' then icon = add_icon(icon, 'annotations.png') fi;
return icon