Skip to content
Snippets Groups Projects
Closed Preferred language in management panel is only shown for SSO users
  • View options
  • Preferred language in management panel is only shown for SSO users

    • View options
  • Closed created

    Due to a bug, it is not possible to see the language of external users.

        <% if @user.sso_profile.present? %>
          <tr>
            <td><strong><%= SsoProfile.human_attribute_name :netid %></strong></td>
            <td>
              <%= @user.netid %>
            </td>
          </tr>
          <% if @user.role_student? %>
            <tr>
              <td><strong><%= SsoProfile.human_attribute_name :student_number %></strong></td>
              <td>
                <%= @user.student_number %>
              </td>
            </tr>
            <tr>
              <td><strong><%= User.human_attribute_name :student_type %></strong></td>
              <td>
                <%= @user.human_student_type %>
              </td>
            </tr>
          <% end %>
          <tr>
            <td><strong><%= User.human_attribute_name :preferred_language %></strong></td>
            <td><%= human_locale @user.preferred_language %></td>
          </tr>
        <% end %>

    Attributes

    Assignees

    None

    Labels

    Milestone

    None

    Dates

    Start: None

    Due: None

    Time tracking

    No estimate or time spent

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first