<%- include("../../../src/web/views/partials/layout-top", { title }) %>

Quotes

Store, search, and manage memorable quotes.

<% if (editingQuote) { %>

Edit quote #<%= editingQuote.id %>

Cancel

Last edited by <%= editingQuote.edited_by || 'system' %> <%= editingQuote.edited_last ? `on ${formatDateTime(editingQuote.edited_last)}` : '' %>

<% } %>

Add quote

All quotes

<% if (!quotes.length) { %>

No quotes recorded yet.

<% } else { %>
<% quotes.forEach((quote) => { %> <% const status = quote.archived ? 'archived' : quote.hidden ? 'hidden' : 'active'; %> <% const dateLabel = formatDateTime(quote.quote_datetime); %> <% }) %>
ID Quote Quoted by Game Date Status Actions
#<%= quote.id %> <%= quote.quote_text %> <%= quote.quoter %> <%= quote.game_name || '-' %> <%= dateLabel %> <%= status %> Edit <% if (quote.hidden) { %>
<% } else { %>
<% } %> <% if (quote.archived) { %>
<% } else { %>
<% } %>
Page 1 of 1
<% } %>
<%- include("../../../src/web/views/partials/layout-bottom") %>