gitlab-org--gitlab-foss/app/views/notify/_reassigned_issuable_email.html.haml

7 lines
465 B
Text

- to_names = content_tag(:strong, issuable.assignees.any? ? sanitize_name(issuable.assignee_list) : s_('Unassigned'))
%p
- if previous_assignees.any?
= 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
= html_escape(s_('Notify|Assignee changed to %{toNames}').html_safe % { toNames: to_names})