summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-17 20:36:13 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 12:12:05 -0200
commitc4c4b808f3ff7944e6b4216e910cc40a0fa2ebec (patch)
tree6afd59edc5c15140d0aa3d025e568105c48ca9cd
parent3b98adcc75f82f4e5e469da5c164467da02b0f0c (diff)
downloadgitlab-ce-c4c4b808f3ff7944e6b4216e910cc40a0fa2ebec.tar.gz
Add a link to Task Queue on dashboard sidebar
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index 106abd24a56..0b59577ad66 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -25,12 +25,18 @@
%span
Issues
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
- = nav_link(path: 'dashboard#merge_requests') do
- = link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
- = icon('tasks fw')
- %span
- Merge Requests
- %span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
+ = nav_link(path: 'dashboard#merge_requests') do
+ = link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
+ = icon('tasks fw')
+ %span
+ Merge Requests
+ %span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
+ = nav_link(path: 'dashboard#tasks') do
+ = link_to dashboard_tasks_path, title: 'Task Queue' do
+ = icon('bell fw')
+ %span
+ Task Queue
+ %span.count= number_with_delimiter(tasks_pending_count)
= nav_link(controller: :snippets) do
= link_to dashboard_snippets_path, title: 'Snippets' do
= icon('clipboard fw')