/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/
{% extends "widget_calendar.html" %}
{% block example %}
Examples
{{ calendar.waste('', 'Litter Service', 'Waste') }}
Block 1
{{ 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)"
{% endblock %}