[% USE raw %]
[% USE Asset %]
[% USE Branches %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
[% Branches.GetName( branch ) | html %] calendar
Define the holidays for:
[% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
Add new holiday
Library:
From date:
,
[% IF ( dateformat == "us" ) %] / / [% ELSIF ( dateformat == "metric" ) %] / / [% ELSIF ( dateformat == "dmydot" ) %] . . [% ELSE %] / / [% END %]
To date:
Title:
Description:
Holiday only on this day .
[?]
Make a single holiday. For example, selecting August 1, 2012 will make it a holiday, but will not affect August 1 in other years.
Holiday repeated every same day of the week .
[?]
Make this weekday a holiday, every week. For example, if your library is closed on Saturdays, use this option to make every Saturday a holiday.
Holiday repeated yearly on the same date .
[?]
This will take this day and month as a reference to make it a holiday. Through this option, you can repeat this rule for every year. For example, selecting August 1 will make August 1 a holiday every year.
Holidays on a range .
[?]
Make a single holiday on a range. For example, selecting August 1, 2012 and August 10, 2012 will make all days between August 1 and 10 a holiday, but will not affect August 1-10 in other years.
Holidays repeated yearly on a range .
[?]
Make a single holiday on a range repeated yearly. For example, selecting August 1, 2012 and August 10, 2012 will make all days between August 1 and 10 a holiday, and will affect August 1-10 in other years.
Copy to all libraries .
[?]
If checked, this holiday will be copied to all libraries. If the holiday already exists for a library, no change is made.
Cancel
Calendar information
Copy holidays to:
[% FOREACH l IN Branches.all() %]
[% l.branchname | html %]
[% END %]
Hints
Search in the calendar the day you want to set as holiday.
Click the date to add or edit a holiday.
Enter a title and description for the holiday.
Specify how the holiday should repeat.
Click Save to finish.
Key
Working day
Unique holiday
Holiday repeating weekly
Holiday repeating yearly
Holiday exception
[% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
Exceptions
Date
Title
Description
[% FOREACH EXCEPTION_HOLIDAYS_LOO IN EXCEPTION_HOLIDAYS_LOOP %]
[% EXCEPTION_HOLIDAYS_LOO.DATE | html %]
[% EXCEPTION_HOLIDAYS_LOO.TITLE | html %]
[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION | html %]
[% END %]
[% END %]
[% IF ( WEEK_DAYS_LOOP ) %]
Weekly - Repeatable holidays
Day of week
Title
Description
[% FOREACH WEEK_DAYS_LOO IN WEEK_DAYS_LOOP %]
[% WEEK_DAYS_LOO.KEY | html %]
[% WEEK_DAYS_LOO.TITLE | html %]
[% WEEK_DAYS_LOO.DESCRIPTION | html %]
[% END %]
[% END %]
[% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
Yearly - Repeatable holidays
[% IF ( dateformat == "metric" ) %]
Day/month
[% ELSE %]
Month/day
[% END %]
Title
Description
[% FOREACH DAY_MONTH_HOLIDAYS_LOO IN DAY_MONTH_HOLIDAYS_LOOP %]
[% DAY_MONTH_HOLIDAYS_LOO.DATE | html %]
[% DAY_MONTH_HOLIDAYS_LOO.TITLE | html %]
[% DAY_MONTH_HOLIDAYS_LOO.DESCRIPTION | html %]
[% END %]
[% END %]
[% IF ( HOLIDAYS_LOOP ) %]
Unique holidays
Date
Title
Description
[% FOREACH HOLIDAYS_LOO IN HOLIDAYS_LOOP %]
[% HOLIDAYS_LOO.DATE | html %]
[% HOLIDAYS_LOO.TITLE | html %]
[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', ' ') | html %]
[% END %]
[% END %]
[% INCLUDE 'tools-menu.inc' %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
[% INCLUDE 'datatables.inc' %]
[% Asset.js("js/tools-menu.js") | $raw %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]