Skip to content

Commit

Permalink
Add fixed-with icon for branches
Browse files Browse the repository at this point in the history
  • Loading branch information
fdaugan committed Sep 11, 2023
1 parent 0959d92 commit 719ec91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ define(function () {
} else {
tooltip+=`<br><i class='far fa-calendar-times text-danger'></i> ${b.analysisDate}`;
}
const url = current.$super('renderServiceLink')(b.pullRequestKey?'hashtag':'code-branch', `${subscription.parameters['service:qa:sonarqube:url'].replace(/\/$/,'')}/dashboard?id=${encodeURIComponent(subscription.parameters['service:qa:sonarqube:project'])}&${parameter}`, tooltip, b.pullRequestKey || b.name, ' target=\'_blank\'', 'link')
const url = current.$super('renderServiceLink')((b.pullRequestKey?'hashtag':'code-branch') + ' fa-fw', `${subscription.parameters['service:qa:sonarqube:url'].replace(/\/$/,'')}/dashboard?id=${encodeURIComponent(subscription.parameters['service:qa:sonarqube:project'])}&${parameter}`, tooltip, b.pullRequestKey || b.name, ' target=\'_blank\'', 'link')
let branchMetrics = current.renderMetrics(subscription, b);
return `<div class="branch">${url}${branchMetrics}</div>`;
}).join(' ');
Expand Down

0 comments on commit 719ec91

Please sign in to comment.