From: Stas Vilchik Date: Tue, 27 Mar 2018 08:50:05 +0000 (+0200) Subject: do not lowercase branch names X-Git-Tag: 7.5~1461 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=42e4494efe716626ca6b5c7be19a138df2281247;p=sonarqube.git do not lowercase branch names --- diff --git a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranch.tsx b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranch.tsx index d51dadbd73d..e640d448159 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranch.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranch.tsx @@ -144,20 +144,20 @@ export default class ComponentNavBranch extends React.PureComponent + {translate('branches.orphan_branch')} ) : ( - + {translate('from')} {currentBranchLike.mergeBranch} ); } else if (isPullRequest(currentBranchLike)) { return ( - + } + position="bottomleft" togglePopup={this.toggleSingleBranchPopup} /> @@ -194,8 +194,8 @@ export default class ComponentNavBranch extends React.PureComponent } + position="bottomleft" togglePopup={this.toggleNoBranchSupportPopup} /> @@ -241,7 +241,7 @@ export default class ComponentNavBranch extends React.PureComponent - + {displayName} diff --git a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranch-test.tsx.snap b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranch-test.tsx.snap index 5f53fb0b983..67e5dbf7ef4 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranch-test.tsx.snap +++ b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranch-test.tsx.snap @@ -114,7 +114,7 @@ exports[`renders pull request 1`] = ` /> from