Skip to content
Snippets Groups Projects

Fix: notify locale on reassigned issueable email

2 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
2
- to_names = content_tag(:strong, issuable.assignees.any? ? sanitize_name(issuable.assignee_list) : s_('Unassigned')).html_safe
- to_names = content_tag(:strong, issuable.assignees.any? ? sanitize_name(issuable.assignee_list) : s_('Unassigned'))
%p
%p
- if previous_assignees.any?
- if previous_assignees.any?
= html_escape(s_('Notify|Assginee changed from %{fromNames} to %{toNames}').html_safe % { fromNames: content_tag(:strong, sanitize_name(previous_assignees.map(&:name).to_sentence)), toNames: to_names })
= html_escape(s_('Notify|Assignee changed from %{fromNames} to %{toNames}').html_safe % { fromNames: content_tag(:strong, sanitize_name(previous_assignees.map(&:name).to_sentence)), toNames: to_names })
- else
- else
= html_escape(s_('Notify|Assginee changed to %{toNames}').html_safe % { toNames: to_names})
= html_escape(s_('Notify|Assignee changed to %{toNames}').html_safe % { toNames: to_names})
Loading