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

fix sidebar links on consultation admin page, fixes #1564

Closes #1564

Merge request studip/studip!987
parent 6236144d
No related branches found
No related tags found
No related merge requests found
...@@ -797,20 +797,20 @@ class Consultation_AdminController extends ConsultationController ...@@ -797,20 +797,20 @@ class Consultation_AdminController extends ConsultationController
$options->addCheckbox( $options->addCheckbox(
_('Benachrichtungen über Buchungen'), _('Benachrichtungen über Buchungen'),
$this->getUserConfig()->getValue('CONSULTATION_SEND_MESSAGES'), $this->getUserConfig()->getValue('CONSULTATION_SEND_MESSAGES'),
$this->toggleURL('messages/1', $action === 'expired'), $this->toggleURL('messages', 1, $action === 'expired'),
$this->toggleURL('messages/0', $action === 'expired') $this->toggleURL('messages', 0, $action === 'expired')
); );
$options->addCheckbox( $options->addCheckbox(
_('Abgelaufene Terminblöcke automatisch löschen'), _('Abgelaufene Terminblöcke automatisch löschen'),
$config->CONSULTATION_GARBAGE_COLLECT, $config->CONSULTATION_GARBAGE_COLLECT,
$this->toggleURL('garbage/1', $action === 'expired'), $this->toggleURL('garbage', 1, $action === 'expired'),
$this->toggleURL('garbage/0', $action === 'expired') $this->toggleURL('garbage', 0, $action === 'expired')
); );
$options->addCheckbox( $options->addCheckbox(
_('Termine gruppiert anzeigen'), _('Termine gruppiert anzeigen'),
$this->getUserConfig()->getValue('CONSULTATION_SHOW_GROUPED'), $this->getUserConfig()->getValue('CONSULTATION_SHOW_GROUPED'),
$this->toggleURL('grouped/1', $action === 'expired'), $this->toggleURL('grouped', 1, $action === 'expired'),
$this->toggleURL('grouped/0', $action === 'expired') $this->toggleURL('grouped', 0, $action === 'expired')
); );
$export = $sidebar->addWidget(new ExportWidget()); $export = $sidebar->addWidget(new ExportWidget());
......
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