Add a link to Task Queue on dashboard sidebar
This commit is contained in:
parent
3b98adcc75
commit
c4c4b808f3
1 changed files with 12 additions and 6 deletions
|
@ -25,12 +25,18 @@
|
||||||
%span
|
%span
|
||||||
Issues
|
Issues
|
||||||
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
|
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
|
||||||
= nav_link(path: 'dashboard#merge_requests') do
|
= nav_link(path: 'dashboard#merge_requests') do
|
||||||
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
|
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
|
||||||
= icon('tasks fw')
|
= icon('tasks fw')
|
||||||
%span
|
%span
|
||||||
Merge Requests
|
Merge Requests
|
||||||
%span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
|
%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
|
= nav_link(controller: :snippets) do
|
||||||
= link_to dashboard_snippets_path, title: 'Snippets' do
|
= link_to dashboard_snippets_path, title: 'Snippets' do
|
||||||
= icon('clipboard fw')
|
= icon('clipboard fw')
|
||||||
|
|
Loading…
Reference in a new issue