diff --git a/app/views/questionnaire/add_to_context.php b/app/views/questionnaire/add_to_context.php index 7e2e5e78639c735b4942c4c80c8e6e4917bd7414..885aad58f78c9262c62d06ed16780ab948b6bcd0 100644 --- a/app/views/questionnaire/add_to_context.php +++ b/app/views/questionnaire/add_to_context.php @@ -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> diff --git a/app/views/questionnaire/overview.php b/app/views/questionnaire/overview.php index 12319b147ba1167e0b3967891aefdc9f8ba5d2fb..9844c342e8c16573f4ae39c9e4aec5d4b1f08902 100644 --- a/app/views/questionnaire/overview.php +++ b/app/views/questionnaire/overview.php @@ -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);