From: Stas Vilchik Date: Wed, 13 Jan 2016 15:57:20 +0000 (+0100) Subject: document keyboard shortcut to send issue comment X-Git-Tag: 5.4-M5~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4c45d72c0d3607c86ac4dbbbee53b07f8d69155;p=sonarqube.git document keyboard shortcut to send issue comment --- diff --git a/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs b/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs index 2ef8a865b8b..aa1800a138a 100644 --- a/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs +++ b/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs @@ -49,6 +49,7 @@
  • p    {{t 'shortcuts.section.issue.plan'}}
  • i    {{t 'shortcuts.section.issue.change_severity'}}
  • c    {{t 'shortcuts.section.issue.comment'}}
  • +
  • ctrl + enter    {{t 'shortcuts.section.issue.submit_comment'}}
  • t    {{t 'shortcuts.section.issue.change_tags'}}
  • diff --git a/server/sonar-web/src/main/less/components/ui.less b/server/sonar-web/src/main/less/components/ui.less index ef2248f67d4..1b5b9700dfa 100644 --- a/server/sonar-web/src/main/less/components/ui.less +++ b/server/sonar-web/src/main/less/components/ui.less @@ -136,9 +136,11 @@ .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); diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 192ee78f5a9..87d32793e40 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -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