View | Details | Raw Unified | Return to bug 9118
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-8 / +8 lines)
Lines 83-98 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
83
                <label for="showDescription">Description:</label>
83
                <label for="showDescription">Description:</label>
84
                <textarea rows="2" cols="40" id="showDescription" name="showDescription"></textarea>
84
                <textarea rows="2" cols="40" id="showDescription" name="showDescription"></textarea>
85
            </li>
85
            </li>
86
            <li class="radio"><div id="exceptionPosibility" style="position:static">
86
            <li class="radio"><div class="exceptionPossibility" style="position:static">
87
                <input type="radio" name="showOperation" id="showOperationExc" value="exception" /> <label for="showOperationExc">Generate an exception for this repeated holiday.</label>
87
                <input type="radio" name="showOperation" id="showOperationExc" value="exception" /> <label for="showOperationExc">Generate an exception for this repeated holiday.</label>
88
                <a href="#" class="helptext">[?]</a>
88
                <a href="#" class="helptext">[?]</a>
89
                <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>
89
                <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>
90
            </div></li>
90
            </div></li>
91
            <li class="radio"><input type="radio" name="showOperation" id="showOperationExcRange" value="exceptionrange" />
91
            <li class="radio"><div class="exceptionPossibility" style="position:static">
92
                <input type="radio" name="showOperation" id="showOperationExcRange" value="exceptionrange" />
92
                <label for="showOperationExcRange">Generate exceptions on a range of dates.</label>
93
                <label for="showOperationExcRange">Generate exceptions on a range of dates.</label>
93
                <a href="#" class="helptext">[?]</a>
94
                <a href="#" class="helptext">[?]</a>
94
                <div class="hint">You can make an exception on a range of dates repeated yearly.</div>
95
                <div class="hint">You can make an exception on a range of dates repeated yearly.</div>
95
            </li>
96
            </div></li>
96
            <li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label>
97
            <li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label>
97
                <a href="#" class="helptext">[?]</a>
98
                <a href="#" class="helptext">[?]</a>
98
                <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>
99
                <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>
Lines 383-389 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
383
        }
384
        }
384
385
385
        // This function shows the "Show Holiday" panel //
386
        // This function shows the "Show Holiday" panel //
386
        function showHoliday (exceptionPosibility, dayName, day, month, year, weekDay, title, description, holidayType) {
387
        function showHoliday (exceptionPossibility, dayName, day, month, year, weekDay, title, description, holidayType) {
387
            $("#newHoliday").slideUp("fast");
388
            $("#newHoliday").slideUp("fast");
388
            $("#showHoliday").slideDown("fast");
389
            $("#showHoliday").slideDown("fast");
389
            $('#showDaynameOutput').html(dayName);
390
            $('#showDaynameOutput').html(dayName);
Lines 415-424 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
415
                $("#holtype").attr("class","key holiday").html(_("Unique holiday"));
416
                $("#holtype").attr("class","key holiday").html(_("Unique holiday"));
416
            }
417
            }
417
418
418
            if (exceptionPosibility == 1) {
419
            if (exceptionPossibility == 1) {
419
                $("#exceptionPosibility").parent().show();
420
                $(".exceptionPossibility").parent().show();
420
            } else {
421
            } else {
421
                $("#exceptionPosibility").parent().hide();
422
                $(".exceptionPossibility").parent().hide();
422
            }
423
            }
423
        }
424
        }
424
425
425
- 

Return to bug 9118