= content_tag_for(:tr, invitation) do
  th = invitation.name
  td = invitation.email
  td = t("course.user.role.#{invitation.role}")
  td = invitation.invitation_key
  - if !invitation.confirmed?
    td = t('course.users.status.invited')
    td = format_datetime(invitation.sent_at, :short) if invitation.sent_at
    td
      div.btn-group
        = link_to course_user_invitation_resend_invitation_path(current_course, invitation),
                  remote: true, class: ['btn', 'btn-info', 'btn-sm'], method: :post,
                  title: t('.resend_tooltip') do
          = fa_icon 'envelope'.freeze
        = delete_button([current_course, invitation],
          class: 'btn-sm', title: t('.delete_tooltip')) do
          = fa_icon 'close'.freeze
  - else
    td = t('course.users.status.accepted')
    td = format_datetime(invitation.confirmed_at, :short) if invitation.confirmed_at
  td

= content_tag_for(:tr, invitation) do
  th = invitation.name
  td = invitation.email
  td = t("course.users.role.#{invitation.role}")
  td = invitation.invitation_key
  - if !invitation.confirmed?
    td = t('course.users.status.invited')
    td = format_datetime(invitation.sent_at, :short) if invitation.sent_at
    td
      div.btn-group
        = link_to course_user_invitation_resend_invitation_path(current_course, invitation),
                  remote: true, class: ['btn', 'btn-info', 'btn-sm'], method: :post,
                  title: t('.resend_tooltip') do
          = fa_icon 'envelope'.freeze
        = delete_button([current_course, invitation],
          class: 'btn-sm', title: t('.delete_tooltip')) do
          = fa_icon 'close'.freeze
  - else
    td = t('course.users.status.accepted')
    td = format_datetime(invitation.confirmed_at, :short) if invitation.confirmed_at
  td

Fix translation for roles in pending user invitations page
Fix translation for roles in pending user invitations page

Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2