Lines 238-252
Link Here
|
238 |
</p> |
238 |
</p> |
239 |
</div> |
239 |
</div> |
240 |
<div id="holiday-list"> |
240 |
<div id="holiday-list"> |
|
|
241 |
<h2>Holidays</h2> |
241 |
<!-- Exceptions First --> |
242 |
<!-- Exceptions First --> |
242 |
<!-- this will probably always have the least amount of data --> |
243 |
<!-- this will probably always have the least amount of data --> |
243 |
[% IF ( EXCEPTION_HOLIDAYS_LOOP ) %] |
244 |
[% IF ( EXCEPTION_HOLIDAYS_LOOP ) %] |
244 |
<h2>Exceptions</h2> |
|
|
245 |
<label class="controls"> |
246 |
<input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" /> |
247 |
Show past entries |
248 |
</label> |
249 |
<table id="holidayexceptions"> |
245 |
<table id="holidayexceptions"> |
|
|
246 |
<caption>Exceptions</caption> |
250 |
<thead><tr> |
247 |
<thead><tr> |
251 |
<th class="exception">Date</th> |
248 |
<th class="exception">Date</th> |
252 |
<th class="exception">Title</th> |
249 |
<th class="exception">Title</th> |
Lines 264-277
Link Here
|
264 |
<td>[% EXCEPTION_HOLIDAYS_LOO.TITLE | html %]</td> |
261 |
<td>[% EXCEPTION_HOLIDAYS_LOO.TITLE | html %]</td> |
265 |
<td>[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION | html %]</td> |
262 |
<td>[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION | html %]</td> |
266 |
</tr> |
263 |
</tr> |
267 |
[% END %] |
264 |
[% END %] |
268 |
</tbody> |
265 |
</tbody> |
269 |
</table> |
266 |
</table> |
|
|
267 |
<label class="controls"> |
268 |
<input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" /> |
269 |
Show past entries of Exceptions |
270 |
</label> |
270 |
[% END %] |
271 |
[% END %] |
271 |
|
272 |
|
272 |
[% IF ( WEEK_DAYS_LOOP ) %] |
273 |
[% IF ( WEEK_DAYS_LOOP ) %] |
273 |
<h2>Weekly - Repeatable holidays</h2> |
|
|
274 |
<table id="holidayweeklyrepeatable"> |
274 |
<table id="holidayweeklyrepeatable"> |
|
|
275 |
<caption>Weekly - Repeatable holidays</caption> |
275 |
<thead> |
276 |
<thead> |
276 |
<tr> |
277 |
<tr> |
277 |
<th class="repeatableweekly">Day of week</th> |
278 |
<th class="repeatableweekly">Day of week</th> |
Lines 293-300
Link Here
|
293 |
[% END %] |
294 |
[% END %] |
294 |
|
295 |
|
295 |
[% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %] |
296 |
[% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %] |
296 |
<h2>Yearly - Repeatable holidays</h2> |
|
|
297 |
<table id="holidaysyearlyrepeatable"> |
297 |
<table id="holidaysyearlyrepeatable"> |
|
|
298 |
<caption>Yearly - Repeatable holidays</caption> |
298 |
<thead> |
299 |
<thead> |
299 |
<tr> |
300 |
<tr> |
300 |
[% IF ( dateformat == "metric" ) %] |
301 |
[% IF ( dateformat == "metric" ) %] |
Lines 321-332
Link Here
|
321 |
[% END %] |
322 |
[% END %] |
322 |
|
323 |
|
323 |
[% IF ( HOLIDAYS_LOOP ) %] |
324 |
[% IF ( HOLIDAYS_LOOP ) %] |
324 |
<h2>Unique holidays</h2> |
|
|
325 |
<label class="controls"> |
326 |
<input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" /> |
327 |
Show past entries |
328 |
</label> |
329 |
<table id="holidaysunique"> |
325 |
<table id="holidaysunique"> |
|
|
326 |
<caption>Unique holidays</caption> |
330 |
<thead> |
327 |
<thead> |
331 |
<tr> |
328 |
<tr> |
332 |
<th class="holiday">Date</th> |
329 |
<th class="holiday">Date</th> |
Lines 345-353
Link Here
|
345 |
<td>[% HOLIDAYS_LOO.TITLE | html %]</td> |
342 |
<td>[% HOLIDAYS_LOO.TITLE | html %]</td> |
346 |
<td>[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', '<br />') | html %]</td> |
343 |
<td>[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', '<br />') | html %]</td> |
347 |
</tr> |
344 |
</tr> |
348 |
[% END %] |
345 |
[% END %] |
349 |
</tbody> |
346 |
</tbody> |
350 |
</table> |
347 |
</table> |
|
|
348 |
<label class="controls"> |
349 |
<input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" /> |
350 |
Show past entries of Unique holidays |
351 |
</label> |
351 |
[% END %] |
352 |
[% END %] |
352 |
</div> |
353 |
</div> |
353 |
</div> |
354 |
</div> |