<% const names = Object.keys(counts).sort(); %>
<% if (!names.length) { %>
No groups yet — create the first one below.
<% } else { %>
| Group | Projects | Rename | |
<% names.forEach(function (g) { %>
| <%= g %> |
<%= counts[g] %> |
|
<% if (counts[g] === 0) { %>
<% } else { %>
move projects out to delete
<% } %>
|
<% }) %>
<% } %>
Renaming moves all its projects along. Assign a project's group on its detail page or when creating it.