calendar.waste
Displays a tiny trash list
Parameters
{{ calendar.waste(id, title, calendar, count, repeat) }}
id
unique id for this widget (optional)
title
a title to display (optional)
calendar
name of calendars to show, multiples in array form (optional, default: as defined in configuration)
count
the number of displayed columns (optional, default 5)
repeat
the refresh interval for this widget (using relative time format) (optional, default 24h)
Examples
{{ calendar.waste('', 'Litter Service', 'Waste') }}
You can specify your own icons and colors for calendar events in the language file , e.g. .dropins/lang/mylang.ini in the section "[calendar_event_format]".
If the icon is defined as "message_garbage" the widget converts it to "message_garbage_2" which is the roll-out garbage container.
blue bin[icon] = message_garbage
blue bin[color] = #0000FF
Attention: calendar.waste searches for the specified keywords and applies icon and color to the event if it's title
starts with a keyword. With the above example it will display the same for "blue binoculars"
and "blue bin". Specify the more specific keywords in sequence behind the more general ones in order to optimize pattern matching.
A default icon and color can be defined using "default_img_waste". If no default is defined a transparent image "trans.png" will be displayed.
default_img_waste[icon] = message_achtung
default_img_waste[color] = "rgb(32, 178, 170)"
Author: René Jahncke, Stefan Widmer