summaryrefslogtreecommitdiff
path: root/app/helpers/todos_helper.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2017-01-28 23:39:24 +0100
committerJacopo <beschi.jacopo@gmail.com>2017-01-28 23:48:36 +0100
commite4029070a205351ca9677311c9675f4f933e8f45 (patch)
tree7750211d6c7281741117226a717c2b7cbf22eefc /app/helpers/todos_helper.rb
parentb78d06b78143b16dccc5d5afaa8796473b68bea1 (diff)
downloadgitlab-ce-e4029070a205351ca9677311c9675f4f933e8f45.tar.gz
Filter todos by manual add
Added the option to filter todo by Added and Pipelines
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r--app/helpers/todos_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb
index c568cca9e5e..d7d51c99979 100644
--- a/app/helpers/todos_helper.rb
+++ b/app/helpers/todos_helper.rb
@@ -86,7 +86,9 @@ module TodosHelper
[
{ id: '', text: 'Any Action' },
{ id: Todo::ASSIGNED, text: 'Assigned' },
- { id: Todo::MENTIONED, text: 'Mentioned' }
+ { id: Todo::MENTIONED, text: 'Mentioned' },
+ { id: Todo::MARKED, text: 'Added' },
+ { id: Todo::BUILD_FAILED, text: 'Pipelines' }
]
end