From e3231fa49739d386b410b83a485e864d752e41a9 Mon Sep 17 00:00:00 2001 From: Michel Felipe de Oliveira Ferreira Date: Wed, 5 Aug 2015 17:15:06 -0300 Subject: [PATCH] Change label select from 'All' to 'Select a category' --- controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb b/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb index ee48e53..5c1e191 100644 --- a/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb +++ b/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb @@ -16,7 +16,7 @@ class ProposalsDiscussionPluginTasksController < TasksController @view_only = !current_person.has_permission?(:perform_task, profile) || params[:view_only] - @task_categories = [OpenStruct.new(:name => _('All'), :id => nil) ] + ProposalsDiscussionPlugin::TaskCategory.all + @task_categories = [OpenStruct.new(:name => _('Select a category'), :id => nil) ] + ProposalsDiscussionPlugin::TaskCategory.all @task_types = Task.pending_types_for(profile) # maps statuses which would be used in status filter -- libgit2 0.21.2