debian-mirror-gitlab/app/views/notify/member_access_denied_email.html.haml
2022-08-13 15:12:31 +05:30

7 lines
495 B
Text

%tr
%td.text-content
%p
- target_to_join = @source_hidden ? content_tag(:span, _('Hidden'), class: :highlight) : link_to(member_source.human_name, member_source.web_url, class: :highlight)
- denied_tag = content_tag :span, _('denied'), class: :highlight
= s_('Notify|Your request to join the %{target_to_join} %{target_type} has been %{denied_tag}.').html_safe % { target_to_join: target_to_join, target_type: member_source.model_name.singular, denied_tag: denied_tag }