Skip to content
Snippets Groups Projects
Commit 39e74e1b authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

re #13

parent 0e9060f7
No related branches found
No related tags found
No related merge requests found
......@@ -53,12 +53,17 @@
) ?>
</td>
<td>
<? if ($block->teacher): ?>
<a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => $block->teacher->username]) ?>">
<?= htmlReady($block->teacher->getFullName()) ?>
</a>
<? else: ?>
&ndash;
<? if (count($block->responsibilities) > 0): ?>
<br>
<ul class="narrow list-csv">
<? foreach ($block->responsibilities as $responsibility): ?>
<li>
<a href="<?= URLHelper::getLink($responsibility->getURL(), [], true) ?>">
<?= htmlReady($responsibility->getName()) ?>
</a>
</li>
<? endforeach; ?>
</ul>
<? endif; ?>
</td>
<td>
......@@ -66,12 +71,7 @@
</td>
<td class="actions">
<?= ActionMenu::get()->addLink(
$controller->edit_roomURL($block, $page),
_('Raum bearbeiten'),
Icon::create('edit'),
['data-dialog' => 'size=auto']
)->addLink(
$controller->noteURL($block, 0, $page),
$controller->editURL($block, 0, $page),
_('Information bearbeiten'),
Icon::create('edit'),
['data-dialog' => 'size=auto']
......
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