Skip to content
Snippets Groups Projects
Commit 4b3566e3 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

Merge branch 'tic-13' into 'main'

Mehr Termininformationen beim Erstellen/Bearbeiten von Raumanfragen in VA anzeigen

See merge request studip/studip!5
parents 70cab342 d5673640
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,15 @@
<section class="resources-grid">
<section class="contentbox">
<header><h1><?= _('Anfrage') ?></h1></header>
<section><?= htmlready($request->getTypeString(), 1, 1) ?></section>
<section>
<?= htmlready($request->getTypeString(), 1, 1) ?>
<? if ($request->getType() == 'course'): ?>
<?
$dates = $request->getDateString(true);
?>
<?= tooltipHtmlIcon(implode('<br>', $dates)) ?>
<? endif ?>
</section>
</section>
<section class="contentbox">
<header><h1><?= _('Bearbeitungsstatus') ?></h1></header>
......
......@@ -1397,7 +1397,7 @@ class ResourceRequest extends SimpleORMap implements PrivacyObject, Studip\Calen
} else {
return sprintf(
_('Regelmäßige Termine (%s)'),
$this->cycle->toString('short')
$this->cycle->toString('full')
);
}
} elseif ($this->course) {
......@@ -2307,4 +2307,4 @@ class ResourceRequest extends SimpleORMap implements PrivacyObject, Studip\Calen
$diff = round(($first['begin'] - time()) / 86400);
return $diff;
}
}
\ No newline at end of file
}
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