Add a link to Task Queue on dashboard sidebar

This commit is contained in:
Douglas Barbosa Alexandre 2016-02-17 20:36:13 -02:00
parent 3b98adcc75
commit c4c4b808f3

View file

@ -31,6 +31,12 @@
%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')