Rename menu item and page 'Task queue' to 'Tasks'

parent fc3f8a8f
- page_title "Task Queue"
- header_title "Task Queue", dashboard_tasks_path
- page_title "Tasks"
- header_title "Tasks", dashboard_tasks_path
......@@ -22,7 +22,7 @@
= link_to admin_root_path, title: 'Admin Area', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('wrench fw')
= link_to dashboard_tasks_path, title: 'Task Queue', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= link_to dashboard_tasks_path, title: 'Tasks', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= tasks_pending_count
- if current_user.can_create_project?
......@@ -4,6 +4,12 @@
= icon('home fw')
= nav_link(controller: :tasks) do
= link_to dashboard_tasks_path, title: 'Tasks' do
= icon('bell fw')
%span.count= number_with_delimiter(tasks_pending_count)
= nav_link(path: 'dashboard#activity') do
= link_to activity_dashboard_path, class: 'shortcuts-activity', title: 'Activity' do
= icon('dashboard fw')
......@@ -31,12 +37,6 @@
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')
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')
Feature: Dashboard Task Queue
Feature: Dashboard Tasks
Given I sign in as a user
And I own project "Shop"
class Spinach::Features::DashboardTaskQueue < Spinach::FeatureSteps
class Spinach::Features::DashboardTasks < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedProject
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment