Skip to content
Snippets Groups Projects
Commit 66b68226 authored by Peter Thienel's avatar Peter Thienel Committed by André Noack
Browse files

Resolve "Terminkalender Ansichten Jahr und Tag defekt", fixes #2219

Closes #2219

Merge request studip/studip!1451
parent 8ffa5652
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,10 @@
<?= $aday ?>
</a>
<?}?>
<? else : ?>
<a class="<?= $style ?>day" href="<?= $controller->url_for($href, ['atime' => $i]) ?>" <?= $js_inc ?>>
<?= $aday ?>
</a>
<? endif ?>
</td>
<? endif; ?>
......
......@@ -95,6 +95,7 @@
<? else : ?>
<a style="font-weight:bold;" class="hday" href="<?= $controller->url_for('calendar/single/day', ['atime' => $aday]) ?>"><?= $i ?></a> <?= $weekday; ?>
<? endif; ?>
<? endif ?>
<? else : ?>
<? if (date('w', $aday) == '0') : ?>
<a style="font-weight:bold;" class="sday" href="<?= $controller->url_for('calendar/single/day', ['atime' => $aday]) ?>"><?= $i ?></a> <?= $weekday; ?>
......@@ -103,7 +104,6 @@
<a style="font-weight:bold;" class="day" href="<?= $controller->url_for('calendar/single/day', ['atime' => $aday]) ?>"><?= $i ?></a> <?= $weekday; ?>
<? endif; ?>
<? endif; ?>
<? endif ?>
</span>
<? if (isset($count_list[$iday]) && count($count_list[$iday])) : ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment