<tr class="<%= m.isAccessible() ? 'clickable' : '' %>"
    <%= m.isAccessible() ? 'data-type=profile-link' : '' %>
    data-profile-id="<%= m.getId() %>">
    <td>
        <img class="img-fluid rounded-circle profile-image-table img-thumbnail"
             src="<%= m.getProfileImg() %>">
    </td>
    <td class="align-middle">
        <div>
            <% if ( m.isOwnerOfGroup( g.getId() ) ) {   %>
                <span class="badge badge-primary"><%= _lc( 'GROUP_OWNER' ) %></span>
            <% } else if ( m.isAdminOfGroup( g.getId() ) ) {  %>
                <span class="badge badge-primary"><%= _lc( 'GROUP_ADMIN' ) %></span>
            <% }    %>
            <% if ( m.isOwn() ) {   %>
                <strong><%=raw m.getName( g.getId() ) %></strong>
            <% } else { %>
                <%=raw m.getName( g.getId() ) %>
            <% }    %>
        </div>
        <div class="appointment-original-status">
            <small>
                <% if ( g.getCategory() === "DOGSCHOOL" && !m.isAnonymousInGroup( g.getId() ) ) { %>
                    <i class="fas fa-paw"></i> <%= m.getCustomGroupProperty( 'DOGSCHOOL', 'dogname' ) ? m.getCustomGroupProperty( 'DOGSCHOOL', 'dogname' ) : '---' %>
                <% }    %>
            </small>
        </div>
    </td>
    <td class="align-middle">
        <% if ( m.isAccessible() ) {   %>
            <i class="fas fa-chevron-right"></i>
        <% } else { %>
        &nbsp;
        <% }    %>
    </td>
</tr>