debian-mirror-gitlab/app/views/notify/_reassigned_issuable_email.html.haml
2023-03-05 14:24:40 +05:30

7 lines
464 B
Text

- to_names = content_tag(:strong, issuable.assignees.any? ? sanitize_name(issuable.assignee_list) : _('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})