* Fix bug#18002.

This commit is contained in:
xieqiyu
2022-03-30 20:48:33 +08:00
parent c86e39c093
commit 79d9664263
3 changed files with 5 additions and 8 deletions
+1
View File
@@ -132,6 +132,7 @@ body {margin-bottom: 25px;}
$misc = common::hasPriv('execution', 'importTask') ? "class='import'" : "class=disabled";
$link = common::hasPriv('execution', 'importTask') ? $this->createLink('execution', 'importTask', "execution=$execution->id") : '#';
echo "<li $class>" . html::a($link, $lang->execution->importTask, '', $misc) . "</li>";
if($execution->lifetime != 'ops')
{
$class = common::hasPriv('execution', 'importBug') ? '' : "class=disabled";