summaryrefslogtreecommitdiff
path: root/app/views/help
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-06 19:37:31 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-07-06 19:37:31 +0000
commit18326c20805df1fb392ea55599626b3f19de1322 (patch)
tree79871da6e9e136f140c604d26b16163340b56f0d /app/views/help
parent46ccda86fb7e7c78b75c69d3b4c33f347f03da2b (diff)
downloadgitlab-ce-18326c20805df1fb392ea55599626b3f19de1322.tar.gz
Improve & fix the performance bar UI and behavior
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/_shortcuts.html.haml9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 331d1181220..56e628a2b74 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -27,10 +27,11 @@
%td.shortcut
.key f
%td Focus Filter
- %tr
- %td.shortcut
- .key p b
- %td Show/hide the Performance Bar
+ - if performance_bar_enabled?
+ %tr
+ %td.shortcut
+ .key p b
+ %td Show/hide the Performance Bar
%tr
%td.shortcut
.key ?