Commit 8419a785c55c9f7b7569646172c677402f360b46
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'task_responsible' into production
Conflicts: app/views/tasks/_task.html.erb app/views/tasks/index.html.erb public/stylesheets/tasks.css
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/tasks/_task.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <% if profile.organization? && @responsible_candidates.present? %> |
6 | 6 | <div class="task_responsible"> |
7 | - <span class="label"><%= _('Responsible:') %></span> | |
7 | + <span class="label"><%= _('Assign to:') %></span> | |
8 | 8 | <span> |
9 | 9 | <% change_responsible_url = url_for :action => :change_responsible, :controller => :tasks %> |
10 | 10 | <%= select_tag "tasks[#{task.id}][responsible]", options_from_collection_for_select(@responsible_candidates, :id, :name, task.responsible.present? ? task.responsible.id : nil), :include_blank => true, :onchange => "change_task_responsible(this);", 'data-old-responsible' => task.responsible.present? ? task.responsible.id : nil, 'data-task' => task.id, 'data-url' => change_responsible_url %> | ... | ... |
app/views/tasks/index.html.erb
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | <%= labelled_text_field(_("Text filter")+': ', :filter_text, nil, {:id => 'filter-text',:value => @filter_text}) %> |
31 | 31 | </p> |
32 | 32 | <p> |
33 | - <%= labelled_select(_('Responsible')+': ', :filter_responsible, :id, :name, @filter_responsible, [OpenStruct.new(:name => _('All'), :id => nil), OpenStruct.new(:name => _('Unassigned'), :id => -1)] + @responsible_candidates) %> | |
33 | + <%= labelled_select(_('Assigned to')+': ', :filter_responsible, :id, :name, @filter_responsible, [OpenStruct.new(:name => _('All'), :id => nil), OpenStruct.new(:name => _('Unassigned'), :id => -1)] + @responsible_candidates) %> | |
34 | 34 | </p> |
35 | 35 | <p> |
36 | 36 | <%= submit_button(:search, _('Search')) %> | ... | ... |