]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7167 display key in a text input 5.4-M6
authorStas Vilchik <vilchiks@gmail.com>
Fri, 15 Jan 2016 08:27:52 +0000 (09:27 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 15 Jan 2016 08:27:58 +0000 (09:27 +0100)
server/sonar-web/src/main/js/apps/overview/meta.js

index d1dab7081015bfa7804d2347784a427e211f26ae..403bc3c6f72c3c49149bac4d1fbd679fa0dae265 100644 (file)
@@ -98,9 +98,10 @@ export default React.createClass({
     let keyCard = (
         <div>
           <h4 className="overview-meta-header">{translate('key')}</h4>
-          <div style={{ overflow: 'auto', whiteSpace: 'nowrap' }}>
-            <code>{this.props.component.key}</code>
-          </div>
+          <input
+              type="text"
+              value={this.props.component.key}
+              style={{ width: '100%' }}/>
         </div>
     );