Skip to content
Snippets Groups Projects
Commit de96c7c3 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

replace formatReady with formatLinks, re #19

parent c96e86f2
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
</h1>
<nav>
<span>
<?= $termin['room'] ? _('Raum') . ': ' . formatReady($termin['room']) : '' ?>
<?= $termin['room'] ? _('Raum') . ': ' . formatLinks($termin['room']) : '' ?>
</span>
<? if($admin && $isProfile && $termin['type'] === 'CalendarEvent'): ?>
<a href="<?= URLHelper::getLink('dispatch.php/calendar/single/edit/' . $termin['range_id'] . '/' . $termin['event_id'], ['source_page' => 'dispatch.php/profile']) ?>">
......
......@@ -64,7 +64,7 @@ $is_exTermin = $termin instanceof CourseExDate;
</a>
<?= $room_holiday ?: '' ?>
<? elseif ($freeTextRoom = $termin->getRoomName()) : ?>
<?= sprintf('(%s)', formatReady($freeTextRoom)) ?>
<?= sprintf('(%s)', formatLinks($freeTextRoom)) ?>
<? else : ?>
<?= _('Keine Raumangabe') ?>
<?= $room_holiday ?: '' ?>
......
......@@ -17,7 +17,7 @@ if ($assigned || $freetext) {
if ($freetext) {
foreach ($freetext as $name => $count) {
if ($name) {
$rooms[] = '(' . ($plain ? $name : formatReady($name)) . ')';
$rooms[] = '(' . ($plain ? $name : formatLinks($name)) . ')';
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment