diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-04-20 10:34:33 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-04-20 10:34:33 +0000 |
| commit | 85588e617bcfb7e79d5b65ddd26a920ecb480ce6 (patch) | |
| tree | a2f90248313d68a4f36ddbd55385e7291e982fc2 /app/views/consultation/admin/create.php | |
| parent | d9f6695cd6b12fdc2c2a2748811a414ae09cc57e (diff) | |
introduce datepicker/datetimepicker 'disable_holidays: true' to disable holidays in the calendar, fixes #2267
Closes #2267
Merge request studip/studip!1632
Diffstat (limited to 'app/views/consultation/admin/create.php')
| -rw-r--r-- | app/views/consultation/admin/create.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/consultation/admin/create.php b/app/views/consultation/admin/create.php index aa4ee30..ff0b483 100644 --- a/app/views/consultation/admin/create.php +++ b/app/views/consultation/admin/create.php @@ -61,7 +61,7 @@ $intervals = [ <input required type="text" name="start-date" id="start-date" value="<?= htmlReady(Request::get('start-date', strftime('%d.%m.%Y', strtotime('+7 days')))) ?>" placeholder="<?= _('tt.mm.jjjj') ?>" - data-date-picker='{">=":"today"}'> + data-date-picker='{">=":"today","disable_holidays": true}'> </label> <label class="col-3"> @@ -70,7 +70,7 @@ $intervals = [ <input required type="text" name="end-date" id="end-date" value="<?= htmlReady(Request::get('end-date', strftime('%d.%m.%Y', strtotime('+4 weeks')))) ?>" placeholder="<?= _('tt.mm.jjjj') ?>" - data-date-picker='{">=":"#start-date"}'> + data-date-picker='{">=":"#start-date","disable_holidays": true}'> </label> <label class="col-3"> |
