summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-16 15:42:03 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-16 15:42:03 +0100
commit86be080a4b3a23d2ad0706b5a83f5b42e5d0ea7c (patch)
tree391b1df7c50d5b9c52d71830573654907d254560 /server/sonar-web
parentf7c1c7a08a7fecdfb339493830ecd122bfd481ab (diff)
downloadsonarqube-86be080a4b3a23d2ad0706b5a83f5b42e5d0ea7c.tar.gz
sonarqube-86be080a4b3a23d2ad0706b5a83f5b42e5d0ea7c.zip
SONAR-7144 add a link to open a component in a new tab
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
index 5459c7a5a6b..c4ecf42b924 100644
--- a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
+++ b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
@@ -7,6 +7,8 @@ const ComponentDetach = ({ component }) => (
<a
className="icon-detach"
target="_blank"
+ title={window.t('code.open_in_new_tab')}
+ data-toggle="tooltip"
href={getComponentUrl(component.key)}/>
);