View Single Post
Old 07-29-2023, 09:06 AM   #30
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
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
Wiggo is offline   Reply With Quote