<% if (plugins.projects) { %>

<%= plugins.projects.totalCount %> Project<%= s(plugins.projects.totalCount) %>

<% if (plugins.projects.error) { %>
<%= plugins.projects.error.message %>
<% } else { %>
<% for (const {name, updated, progress, items = [], description = ""} of plugins.projects.list) { %>
<%= name %>
<% if (plugins.projects.descriptions) { %>
<%= description %>
<% } %>
Updated <%= updated %>
<% if (progress.enabled) { %>
<%= [progress.done ? `${progress.done} done` : "", progress.doing ? `${progress.doing} doing` : "", progress.todo ? `${progress.todo} todo` : ""].filter(str => str).join(" ยท ") %>
<% } %>
<% if (progress.enabled) { const width = 460 * (1 + large) %>
<% } %> <% if (items.length) { %>
<% for (const {type, text} of items) { %>
<% if (type === "DRAFT_ISSUE") { %> <% } else if (type === "ISSUE") { %> <% } else if (type === "ISSUE") { %> <% } else { %> <% } %> <%= text %>
<% } %>
<% } %> <% } %>
<% } %>
<% } %>