  <% if theUser(session).is_admin? %>
    <span>
        <%= link_to({ :action => 'show_role_fields', :id => user.id }, remote: true) do %>
          <i class="fa fa-pencil" aria-hidden="true" title='Bearbeiten' ></i>
        <% end %>
    </span>
  <% end %>

  <span><%= user.team.name %></span>

  <% if user.admin_level >= 20 %>
    <span><i class="fa fa-star" aria-hidden="true" title='Administrator f&uuml;r alle Benutzerrollen'></i></span>
  <% elsif user.admin_level >= 10 %>
    <span><i class="fa fa-star-half-o" aria-hidden="true" title='Administrator nur f&uuml;r die eigene Benutzerrolle'></i></span>
  <% end %>
