Commit fdcabab3 authored by Benni Mack's avatar Benni Mack
Browse files

[CLEANUP] Remove scheduler option for extended description

There is an always activated option
to show a description for tasks on hover.

This option is removed, the feature is
always turned on.

Releases: master
Resolves: #62663
Change-Id: I6f3b656fb9f4721dcd23982eda31f63309bb35ed
Reviewed-on: http://review.typo3.org/33761


Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 2f5251ad
......@@ -1125,11 +1125,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
$table[$tr][] = $schedulerRecord['uid'];
$table[$tr][] = $executionStatusOutput;
if ($schedulerRecord['description'] !== '') {
if (!empty($this->scheduler->extConf['listShowTaskDescriptionAsHover'])) {
$table[$tr][] = '<span title="' . htmlspecialchars($schedulerRecord['description']) . '">' . $name . '</span>';
} else {
$table[$tr][] = $name . '<br />' . nl2br(htmlspecialchars($schedulerRecord['description'])) . '<br />';
}
$table[$tr][] = '<span title="' . htmlspecialchars($schedulerRecord['description']) . '">' . $name . '</span>';
} else {
$table[$tr][] = $name;
}
......
......@@ -9,6 +9,3 @@ showSampleTasks = 1
# cat=basic//; type=boolean; label=LLL:EXT:scheduler/Resources/Private/Language/locallang_em.xlf:scheduler.config.useAtdaemon
useAtdaemon = 0
# cat=basic//; type=boolean; label=LLL:EXT:scheduler/Resources/Private/Language/locallang_em.xlf:scheduler.config.listShowTaskDescriptionAsHover
listShowTaskDescriptionAsHover = 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment