* [task#116512] Set the title to td to show chart version.

This commit is contained in:
dingguodong
2024-06-13 08:39:08 +00:00
committed by 李阳
parent 7068113ed8
commit b59d16675f
+7
View File
@@ -126,6 +126,13 @@ class backup extends control
$systemInfo->upgradeHint = $systemInfo->upgradeable ? $this->lang->system->backup->versionInfo: null;
$systemInfo->latestURL = !empty($latestVersionList[$version]->link) ? $latestVersionList[$version]->link : $this->lang->install->officeDomain;
if($this->config->inQuickon)
{
$latestRelease = $this->loadModel('system')->getLatestRelease();
$systemInfo->currentVersionTitle = getenv('CHART_VERSION') ?: '';
$systemInfo->latestVersionTitle = !empty($latestRelease->version) ? $latestRelease->version : '';
}
$this->view->systemInfo = $systemInfo;
if(!is_writable($this->backupPath)) $this->view->backupError = sprintf($this->lang->backup->error->plainNoWritable, $this->backupPath);