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

imported diff for Trac TIC 11552

parent 165caf7c
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