blob: a7268d0725c52b4830da5786bf54ebf01fd7a62c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
/**
* @var Course_EvaluationController $controller
*/
?>
<?php foreach ($controller->evaluations as $evaluation) : ?>
<?php endforeach ?>
<?php
if (User::findCurrent()->hasPermissionLevel('tutor', Context::get())) {
$actions = new ActionsWidget();
$actions->addLink(
_("QR-Code für Studierende anzeigen"),
URLHelper::getURL('dispatch.php/course/evaluation'),
Icon::create("code-qr", "clickable"),
['data-qr-code' => sprintf(_( 'Evaluation zur Veranstaltung %s'), Context::get()->getFullname('number-name'))]
);
Sidebar::Get()->addWidget($actions);
}
|