summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 12:43:46 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 12:43:46 +0200
commit8404ab46b91103033a78fdd183e9873f85799b6f (patch)
tree6164e0b548deba381b51b7f8eaddc1dd6701ec53 /app/views
parentc2f02fc1a4b88e1c01cb3562168322d0c5debba3 (diff)
downloadgitlab-ce-8404ab46b91103033a78fdd183e9873f85799b6f.tar.gz
Add shortcut for project activity page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views')
-rw-r--r--app/views/help/_shortcuts.html.haml6
-rw-r--r--app/views/layouts/nav/_project.html.haml4
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 825acb0ae3e..e809d99ba71 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -80,6 +80,12 @@
.key g
.key p
%td
+ Go to the project's home page
+ %tr
+ %td.shortcut
+ .key g
+ .key e
+ %td
Go to the project's activity feed
%tr
%td.shortcut
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml
index cbd5de4cba2..2012478eba9 100644
--- a/app/views/layouts/nav/_project.html.haml
+++ b/app/views/layouts/nav/_project.html.haml
@@ -4,8 +4,8 @@
= icon('home fw')
%span
Project
- = nav_link(path: 'projects#activity', html_options: {class: 'activity'}) do
- = link_to activity_project_path(@project), title: 'Project', data: {placement: 'right'} do
+ = nav_link(path: 'projects#activity') do
+ = link_to activity_project_path(@project), title: 'Project Activity', class: 'shortcuts-project-activity', data: {placement: 'right'} do
= icon('dashboard fw')
%span
Activity