From 3698429f06e00439f2843cf7b104f9c768afa9a0 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 20 Jun 2024 10:32:24 +0800 Subject: [PATCH] * [task#121178] Compatible to DevOps mode. --- module/backup/ui/index.html.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/module/backup/ui/index.html.php b/module/backup/ui/index.html.php index 27388925b1..72391604fb 100644 --- a/module/backup/ui/index.html.php +++ b/module/backup/ui/index.html.php @@ -21,7 +21,7 @@ jsvar('confirmDeleteLang', $lang->backup->confirmDelete); jsvar('confirmRestoreLang', $lang->backup->confirmRestore); jsVar('inQuickon', $this->config->inQuickon); -featureBar(set::items(array(array('text' => $lang->system->backup->history, 'class' => 'font-bold')))); +!$config->inQuickon ? featureBar(set::items(array(array('text' => $lang->system->backup->history, 'class' => 'font-bold')))) : featureBar(); /* Toolbar. */ $settingLink = $this->createLink('backup', 'setting'); @@ -126,6 +126,15 @@ else } } +if($config->inQuickon) +{ + div + ( + setClass('panel-title mt-6'), + $lang->system->backup->history + ); +} + if($this->config->inQuickon) { $data = null;