diff --git a/app/views/course/timesrooms/_irregularEvents.php b/app/views/course/timesrooms/_irregularEvents.php index 71a8266942560204077546e5313b8306c76aaa18..0181ec5123f255bb9891db5be45e5b5af91aadf2 100644 --- a/app/views/course/timesrooms/_irregularEvents.php +++ b/app/views/course/timesrooms/_irregularEvents.php @@ -33,7 +33,7 @@ $room_request_filter = function ($date) { <? endif ?> </header> <? if (!empty($single_dates)): ?> - <form class="default collapsable" action="<?= $controller->url_for('course/timesrooms/stack', $linkAttributes) ?>" + <form class="collapsable" action="<?= $controller->url_for('course/timesrooms/stack', $linkAttributes) ?>" <?= Request::isXhr() ? 'data-dialog="size=big"' : ''?> method="post"> <?= CSRFProtection::tokenTag() ?> <? foreach ($single_dates as $semester_id => $termine) : ?> @@ -70,7 +70,7 @@ $room_request_filter = function ($date) { </section> </header> <section> - <table class="default nohover"> + <table class="default"> <colgroup> <? if (!$locked) :?> <col width="30px"> diff --git a/app/views/course/timesrooms/_regularEvents.php b/app/views/course/timesrooms/_regularEvents.php index bfe18b2b382162f1330bc734b7fdde23a238b0c7..6048331f3f0f42332abd0cc2dc09e373aa4153b2 100644 --- a/app/views/course/timesrooms/_regularEvents.php +++ b/app/views/course/timesrooms/_regularEvents.php @@ -18,7 +18,7 @@ <? if (!empty($cycle_dates)) : ?> <? foreach ($cycle_dates as $metadate_id => $cycle) : ?> - <form class="default collapsable" action="<?= $controller->url_for('course/timesrooms/stack/' . $metadate_id, $linkAttributes) ?>" + <form class="collapsable" action="<?= $controller->url_for('course/timesrooms/stack/' . $metadate_id, $linkAttributes) ?>" method="post" <?= Request::isXhr() ? 'data-dialog="size=big"' : ''?>> <?= CSRFProtection::tokenTag() ?> @@ -97,7 +97,7 @@ 'clickable', [ 'title' => _('Raumanfrage erstellen'), - 'class' => 'text-align' + 'style' => 'vertical-align: middle;' ] ), ['data-dialog' => 'size=big'] @@ -114,7 +114,7 @@ <? endif ?> </header> <section> - <table class="default nohover"> + <table class="default"> <colgroup> <? if (!$locked) : ?> <col width="30px"> diff --git a/lib/models/SeminarCycleDate.class.php b/lib/models/SeminarCycleDate.class.php index 4daef1e0ac81ebeff352b429a2990367a9f6485f..aed6fd9f2e7579753b4dca547b4528ac35a4d072 100644 --- a/lib/models/SeminarCycleDate.class.php +++ b/lib/models/SeminarCycleDate.class.php @@ -722,7 +722,7 @@ class SeminarCycleDate extends SimpleORMap { $date = new DateTime(); $date->setTimestamp($base); - $date->modify(sprintf('%s days', $days)); + $date->modify(sprintf('this week monday +%s days', $days)); return $date->getTimestamp(); }