]> source.dussan.org Git - sonarqube.git/commitdiff
document keyboard shortcut to send issue comment
authorStas Vilchik <vilchiks@gmail.com>
Wed, 13 Jan 2016 15:57:20 +0000 (16:57 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 13 Jan 2016 15:57:20 +0000 (16:57 +0100)
server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs
server/sonar-web/src/main/less/components/ui.less
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 2ef8a865b8b90dd99e2e35486d999f42e268628a..aa1800a138a2ade475db78eee35e28519a01db3e 100644 (file)
@@ -49,6 +49,7 @@
         <li><span class="shortcut-button">p</span> &nbsp;&nbsp; {{t 'shortcuts.section.issue.plan'}}</li>
         <li><span class="shortcut-button">i</span> &nbsp;&nbsp; {{t 'shortcuts.section.issue.change_severity'}}</li>
         <li><span class="shortcut-button">c</span> &nbsp;&nbsp; {{t 'shortcuts.section.issue.comment'}}</li>
+        <li><span class="shortcut-button">ctrl</span> + <span class="shortcut-button">enter</span> &nbsp;&nbsp; {{t 'shortcuts.section.issue.submit_comment'}}</li>
         <li><span class="shortcut-button">t</span> &nbsp;&nbsp; {{t 'shortcuts.section.issue.change_tags'}}</li>
       </ul>
     </div>
index ef2248f67d4a0c24469e81a7128ecb51f9da0227..1b5b9700dfa1cdf385320ddd00e5b1ab15ec6b33 100644 (file)
 
 .shortcut-button {
   display: inline-block;
-  width: 24px;
+  min-width: 24px;
   height: 24px;
   line-height: 24px;
+  padding: 0 4px;
+  box-sizing: border-box;
   border: 1px solid #ccc;
   border-radius: 3px;
   background-image: linear-gradient(to bottom, #f5f5f5, #eee);
index 192ee78f5a9c24a89f8f6da7fe7d815469aa3a73..87d32793e40201538ff9d09b24fcec62d64e1119 100644 (file)
@@ -1082,6 +1082,7 @@ shortcuts.section.issue.assign_to_me=assign issue to the current user
 shortcuts.section.issue.plan=plan issue
 shortcuts.section.issue.change_severity=change severity of issue
 shortcuts.section.issue.comment=comment issue
+shortcuts.section.issue.submit_comment=submit comment
 shortcuts.section.issue.change_tags=change tags of issue
 
 shortcuts.section.rules=Rules Page