SONAR-7144 add a link to open a component in a new tab

This commit is contained in:
Stas Vilchik 2015-12-16 15:42:03 +01:00
parent f7c1c7a08a
commit 86be080a4b
2 changed files with 10 additions and 0 deletions

View File

@ -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)}/>
);

View File

@ -3158,3 +3158,11 @@ overview.no_duplications=This component does not have details details.
#------------------------------------------------------------------------------
api_documentation.deprecation_tooltip=Deprecated services remain available through the first L.T.S. version released after deprecation, and will be removed before the second.
api_documentation.internal_tooltip=Use at your own risk; internal services are subject to change or removal without notice.
#------------------------------------------------------------------------------
#
# CODE
#
#------------------------------------------------------------------------------
code.open_in_new_tab=Open in New Tab