Skip to content
Snippets Groups Projects
Commit b596e3d3 authored by David Siegfried's avatar David Siegfried
Browse files

Biest 1086

Closes #1086

Merge request studip/studip!647
parent 06bc1d02
No related branches found
No related tags found
No related merge requests found
......@@ -8,13 +8,13 @@ $icons = [
<div class="file_select_possibilities">
<div>
<a href="<?= $controller->link_for("questionnaire/edit", ['range_type' => Context::getType(), 'range_id' => Context::get()->id]) ?>"
data-dialog>
data-dialog="size=big">
<?= Icon::create($icons[Context::getType()], Icon::ROLE_CLICKABLE)->asImg(50) ?>
<?= htmlReady(Context::get()->name) ?>
</a>
<? foreach ($statusgruppen as $statusgruppe) : ?>
<a href="<?= $controller->link_for("questionnaire/edit", ['range_type' => "statusgruppe", 'range_id' => $statusgruppe->getId()]) ?>"
data-dialog>
data-dialog="size=big">
<?= Icon::create('group2', Icon::ROLE_CLICKABLE)->asImg(50) ?>
<?= htmlReady($statusgruppe->name) ?>
</a>
......
......@@ -39,7 +39,7 @@ $actions = new ActionsWidget();
$actions->addLink(
_('Fragebogen erstellen'),
$controller->url_for('questionnaire/add_to_context', $range_type ? ['range_type' => $range_type, 'range_id' => Context::getId()]: []),
Icon::create('add', 'clickable'),
Icon::create('add'),
['data-dialog' => 'size=auto']
);
Sidebar::Get()->addWidget($actions);
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