|
Lines 197-203
Link Here
|
| 197 |
$(this).parent().find(".hint").toggle(); return false; |
197 |
$(this).parent().find(".hint").toggle(); return false; |
| 198 |
}); |
198 |
}); |
| 199 |
$("#dateofrange").datepicker(); |
199 |
$("#dateofrange").datepicker(); |
|
|
200 |
$("#datecancelrange").datepicker(); |
| 200 |
$("#dateofrange").each(function () { this.value = "" }); |
201 |
$("#dateofrange").each(function () { this.value = "" }); |
|
|
202 |
$("#datecancelrange").each(function () { this.value = "" }); |
| 201 |
$("#jcalendar-container").datepicker({ |
203 |
$("#jcalendar-container").datepicker({ |
| 202 |
beforeShowDay: function(thedate) { |
204 |
beforeShowDay: function(thedate) { |
| 203 |
var day = thedate.getDate(); |
205 |
var day = thedate.getDate(); |
|
Lines 276-282
td.repeatableyearly a.ui-state-default, .repeatableyearly { background: #FFFF9
Link Here
|
| 276 |
<input type="hidden" id="showBranchName" name="showBranchName" /> |
278 |
<input type="hidden" id="showBranchName" name="showBranchName" /> |
| 277 |
</li> |
279 |
</li> |
| 278 |
<li> |
280 |
<li> |
| 279 |
<strong>Date:</strong> |
281 |
<strong>From Date:</strong> |
| 280 |
<span id="showDaynameOutput"></span>, |
282 |
<span id="showDaynameOutput"></span>, |
| 281 |
|
283 |
|
| 282 |
[% IF ( dateformat_us ) %]<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>/<span id="showYearOutput"></span>[% ELSIF ( dateformat_metric ) %]<span id="showDayOutput"></span>/<span id="showMonthOutput"></span>/<span id="showYearOutput"></span>[% ELSE %]<span id="showYearOutput"></span>/<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>[% END %] |
284 |
[% IF ( dateformat_us ) %]<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>/<span id="showYearOutput"></span>[% ELSIF ( dateformat_metric ) %]<span id="showDayOutput"></span>/<span id="showMonthOutput"></span>/<span id="showYearOutput"></span>[% ELSE %]<span id="showYearOutput"></span>/<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>[% END %] |
|
Lines 287-292
td.repeatableyearly a.ui-state-default, .repeatableyearly { background: #FFFF9
Link Here
|
| 287 |
<input type="hidden" id="showMonth" name="showMonth" /> |
289 |
<input type="hidden" id="showMonth" name="showMonth" /> |
| 288 |
<input type="hidden" id="showYear" name="showYear" /> |
290 |
<input type="hidden" id="showYear" name="showYear" /> |
| 289 |
</li> |
291 |
</li> |
|
|
292 |
<li class="dateinsert"> |
| 293 |
<b>To Date : </b> |
| 294 |
<input type="text" id="datecancelrange" name="datecancelrange" size="20" value="[% datecancelrange %]" class="datepicker"/> |
| 295 |
</li> |
| 290 |
<li><label for="showTitle">Title: </label><input type="text" name="showTitle" id="showTitle" size="35" /></li> |
296 |
<li><label for="showTitle">Title: </label><input type="text" name="showTitle" id="showTitle" size="35" /></li> |
| 291 |
<!-- showTitle is necessary for exception radio button to work properly --> |
297 |
<!-- showTitle is necessary for exception radio button to work properly --> |
| 292 |
<label for="showDescription">Description:</label> |
298 |
<label for="showDescription">Description:</label> |
|
Lines 297-309
td.repeatableyearly a.ui-state-default, .repeatableyearly { background: #FFFF9
Link Here
|
| 297 |
<a href="#" class="helptext">[?]</a> |
303 |
<a href="#" class="helptext">[?]</a> |
| 298 |
<div class="hint">You can make an exception for this holiday rule. This means that you will be able to say that for a repeatable holiday there is one day which is going to be an exception.</div> |
304 |
<div class="hint">You can make an exception for this holiday rule. This means that you will be able to say that for a repeatable holiday there is one day which is going to be an exception.</div> |
| 299 |
</div></li> |
305 |
</div></li> |
|
|
306 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationExcRange" value="exceptionrange" /> |
| 307 |
<label for="newOperationFieldException">Generate exceptions on a range of dates.</label> |
| 308 |
<a href="#" class="helptext">[?]</a> |
| 309 |
<div class="hint">You can make an exception on a range of dates repeated yearly.</div> |
| 310 |
</li> |
| 300 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label> |
311 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label> |
| 301 |
<a href="#" class="helptext">[?]</a> |
312 |
<a href="#" class="helptext">[?]</a> |
| 302 |
<div class="hint">This will delete this holiday rule. If it is a repeatable holiday, this option checks for posible exceptions. If an exception exists, this option will remove the exception and set the date to a regular holiday.</div></li> |
313 |
<div class="hint">This will delete this holiday rule. If it is a repeatable holiday, this option checks for possible exceptions. If an exception exists, this option will remove the exception and set the date to a regular holiday.</div></li> |
|
|
314 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationDelRange" value="deleterange" /> <label for="showOperationDelRange" id="showOperationDelLabelRange">Delete the single holidays on a range</label>. |
| 315 |
<a href="#" class="helptext">[?]</a> |
| 316 |
<div class="hint">This will delete the single holidays rules only. The repeatable holidays and exceptions will not be deleted.</div> |
| 317 |
</li> |
| 318 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeat" value="deleterangerepeat" /> <label for="showOperationDelRangeRepeat" id="showOperationDelLabelRangeRepeat">Delete the repeated holidays on a range</label>. |
| 319 |
<a href="#" class="helptext">[?]</a> |
| 320 |
<div class="hint">This will delete the repeated holidays rules only. The repeatable holidays will be deleted but not the exceptions.</div> |
| 321 |
</li> |
| 322 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeatExcept" value="deleterangerepeatexcept" /> <label for="showOperationDelRangeRepeatExcept" id="showOperationDelLabelRangeRepeatExcept">Delete the exceptions on a range</label>. |
| 323 |
<a href="#" class="helptext">[?]</a> |
| 324 |
<div class="hint">This will delete the exceptions inside a given range. Be careful about your scope range if it is oversized you could slow down Koha.</div> |
| 325 |
</li> |
| 303 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationEdit" value="edit" checked="checked" /> <label for="showOperationEdit">Edit this holiday</label> |
326 |
<li class="radio"><input type="radio" name="showOperation" id="showOperationEdit" value="edit" checked="checked" /> <label for="showOperationEdit">Edit this holiday</label> |
| 304 |
<a href="#" class="helptext">[?]</a> |
327 |
<a href="#" class="helptext">[?]</a> |
| 305 |
<div class="hint">This will save changes to the holiday's title and description. If the information for a repeatable holiday is modified, it affects all of the dates on which the holiday is repeated.</div></li> |
328 |
<div class="hint">This will save changes to the holiday's title and description. If the information for a repeatable holiday is modified, it affects all of the dates on which the holiday is repeated.</div></li> |
| 306 |
|
|
|
| 307 |
</ol> |
329 |
</ol> |
| 308 |
<fieldset class="action"> |
330 |
<fieldset class="action"> |
| 309 |
<input type="submit" name="submit" value="Save" /> |
331 |
<input type="submit" name="submit" value="Save" /> |
|
Lines 363-374
td.repeatableyearly a.ui-state-default, .repeatableyearly { background: #FFFF9
Link Here
|
| 363 |
<li class="radio"><input type="radio" name="newOperation" id="newOperationField" value="holidayrange" /> |
385 |
<li class="radio"><input type="radio" name="newOperation" id="newOperationField" value="holidayrange" /> |
| 364 |
<label for="newOperationField">Holidays on a range</label>. |
386 |
<label for="newOperationField">Holidays on a range</label>. |
| 365 |
<a href="#" class="helptext">[?]</a> |
387 |
<a href="#" class="helptext">[?]</a> |
| 366 |
<div class="hint">Make a single holiday on a range. For example, selecting August 1st, 2012 and August 10st, 2012 will make all days between 1st and 10st holiday, but will not affect August 1st-10st in other years.</div> |
388 |
<div class="hint">Make a single holiday on a range. For example, selecting August 1st, 2012 and August 10st, 2012 will make all days between 1st and 10st holiday, but will not affect August 1-10 in other years.</div> |
| 367 |
</li> |
389 |
</li> |
| 368 |
<li class="radio"><input type="radio" name="newOperation" id="newOperationFieldyear" value="holidayrangerepeat" /> |
390 |
<li class="radio"><input type="radio" name="newOperation" id="newOperationFieldyear" value="holidayrangerepeat" /> |
| 369 |
<label for="newOperationFieldyear">Holidays repeated yearly on a range</label>. |
391 |
<label for="newOperationFieldyear">Holidays repeated yearly on a range</label>. |
| 370 |
<a href="#" class="helptext">[?]</a> |
392 |
<a href="#" class="helptext">[?]</a> |
| 371 |
<div class="hint">Make a single holiday on a range repeated yearly. For example, selecting August 1st, 2012 and August 10st, 2012 will make all days between 1st and 10st holiday, and will affect August 1st-10st in other years.</div> |
393 |
<div class="hint">Make a single holiday on a range repeated yearly. For example, selecting August 1st, 2012 and August 10st, 2012 will make all days between 1st and 10st holiday, and will affect August 1-10 in other years.</div> |
| 372 |
</li> |
394 |
</li> |
| 373 |
<li class="radio"> |
395 |
<li class="radio"> |
| 374 |
<input type="checkbox" name="allBranches" id="allBranches" /> |
396 |
<input type="checkbox" name="allBranches" id="allBranches" /> |