]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7144 add a link to open a component in a new tab
authorStas Vilchik <vilchiks@gmail.com>
Wed, 16 Dec 2015 14:42:03 +0000 (15:42 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 16 Dec 2015 14:42:03 +0000 (15:42 +0100)
server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 5459c7a5a6b5d2100968f4a1f8a35d7b75059b35..c4ecf42b92438585d36074a1446b153c5e403a5f 100644 (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)}/>
 );
 
index c907c83357415eac061ba46254117d4081db5548..8f40801694ffe1f0c7577693d4b9996b949ae776 100644 (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