<%- include("../base/header", { title: "Home", userId: session.userId }) %>

Welcome back <%= user.Username %>!

What would you like to do?

Change Username Change Password
<% if (user.UserLevel === UserLevel.BadgeEditor) { %> <% } %> <% if (user.UserLevel === UserLevel.Admin) { %> <% } %>

Your Parties

<% if (parties.length > 0) { %> <% for (const party of parties) { %> <% } %>
Name Code
<%= party.Name %> <%= party.PartyRef %> <% if (activeUserParty && activeUserParty.PartyId === party.Id) { %> Deactivate <% } else { %>  Activate  <% } %> <% if (party.CreatedByUserId === user.Id) { %> Delete <% } else { %> Leave <% } %>
<% } else { %> <% } %>

Badges

<% for (let i = 0; i < 71; i++) { %> <% } %>
<%- include("../base/footer") %>