From f6fb450f5b0807f3412e9e83701ccc19e1ac7b5e Mon Sep 17 00:00:00 2001 From: daitingting Date: Tue, 11 Mar 2025 06:00:29 +0000 Subject: [PATCH] [bug#60231,done,1h] Remove title link. --- module/release/js/browse.ui.js | 9 ++++++++- module/release/ui/browse.html.php | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/module/release/js/browse.ui.js b/module/release/js/browse.ui.js index ef677878c8..c09ab70f39 100644 --- a/module/release/js/browse.ui.js +++ b/module/release/js/browse.ui.js @@ -15,7 +15,14 @@ window.renderCell = function(result, {col, row}) if(!row.data.build.name) return result; let branchLabel = showBranch ? "" + row.data.build.branchName + ' ' : ''; - result.push({html: branchLabel + "" + row.data.build.name + ''}); + if(isFromDoc) + { + result.push({html: branchLabel + row.data.build.name}); + } + else + { + result.push({html: branchLabel + "" + row.data.build.name + ''}); + } return result; } diff --git a/module/release/ui/browse.html.php b/module/release/ui/browse.html.php index 40088943ee..82b7abf2d7 100644 --- a/module/release/ui/browse.html.php +++ b/module/release/ui/browse.html.php @@ -98,6 +98,7 @@ toolbar jsVar('markerTitle', $lang->release->marker); jsVar('showBranch', $showBranch); jsVar('type', $type); +jsVar('isFromDoc', $isFromDoc); $cols = $this->loadModel('datatable')->getSetting('release'); if($showBranch) $cols['branch']['map'] = $branchPairs;