Administrators
<% if (hasUnlimited) { %> Refresh Team List <% } else { %>   <% } %>
<%= partial(data.ownerTemplate, siteOwner) %> <% adminUsers.each(function(user) { %> <%= partial(data.adminTemplate, user.value) %> <% }) %>
Developers
<% normalUsers.each(function(user){ %> <%= partial(data.userTemplate, user.value) %> <% }) %> <% if (totalUsers == 1 && numInvitations > 0) { %>
There are currently no users on this team
<% } else if (normalUsers.size() == 0 && totalUsers > 1) { %>
There are currently no developers on this team
<% } %>
<% if(totalUsers == 1 && numInvitations == 0) { %>
<% if(hasUnlimited) { %> Your service plan allows for unlimited team members.
Invite another member to collaborate on this site. <% } else { %> You can add other team members by selecting the Team Development service option in your Site Settings. <% } %>
<% } %> <% if (numInvitations > 0) { %>
Pending Invitations
<% invitations.each(function(invite) { %> <% }); %>
Email Invited By Date Invited Role  
<%= invite.value.email %> <%= invite.value.username %> <%= invite.value.date_invited; %> <%= invite.value.role.capitalize(); %> <% if (invite.value.user_id == Portal.Data.currentUser.userId) { %> Resend | <% } %> <% if ([invite.value.user_id.toString(), siteOwner.user.toString()].indexOf(Portal.Data.currentUser.userId.toString()) != -1) { %> Cancel <% } %>
<% } %>