Changeset cf7c2d9 in Klonkt for src/views/pages/admin-shows.ejs


Ignore:
Timestamp:
06/20/2026 07:06:59 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d7b5a6c
Parents:
34b126b
Message:

feat(nav): Agenda link in the view-switcher + "shows" → "events"

Left of the Timeline/Grid bar there is now a 📅 Agenda link to the agenda
page (/shows), visible for premium instances. Visible labels on the agenda
and in Admin renamed from "show(s)" to "event(s)" (routes stay /shows).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-shows.ejs

    r34b126b rcf7c2d9  
    1111  <% if (msg) { %><div class="ash-msg ash-<%= (typeof msgKind!=='undefined')?msgKind:'' %>"><%= msg %></div><% } %>
    1212
    13   <p class="ash-note"><strong><%= nc %></strong> abonnee(s) voor show-aankondigingen.
    14     <% if (!smtp) { %><br>⚠ SMTP niet ingesteld — shows worden opgeslagen, maar notify-mails kunnen pas verstuurd worden zodra je SMTP invult.<% } %></p>
     13  <p class="ash-note"><strong><%= nc %></strong> abonnee(s) voor evenement-aankondigingen.
     14    <% if (!smtp) { %><br>⚠ SMTP niet ingesteld — evenementen worden opgeslagen, maar notify-mails kunnen pas verstuurd worden zodra je SMTP invult.<% } %></p>
    1515
    1616  <form method="POST" action="<%= siteUrlBase %>/admin/shows" class="ash-form">
     
    2525    </div>
    2626    <label class="ash-check"><input type="checkbox" name="notify" value="1" <%= smtp ? '' : 'disabled' %>> Abonnees per e-mail op de hoogte brengen<%= smtp ? '' : ' (SMTP vereist)' %></label>
    27     <button type="submit" class="ash-add">+ Show toevoegen</button>
     27    <button type="submit" class="ash-add">+ Evenement toevoegen</button>
    2828  </form>
    2929
     
    3434          <span class="ash-when"><%= s.date %><% if (s.time) { %> <%= s.time %><% } %></span>
    3535          <span class="ash-where"><%= s.city %><% if (s.venue) { %> — <%= s.venue %><% } %></span>
    36           <form method="POST" action="<%= siteUrlBase %>/admin/shows/<%= s.id %>/delete" onsubmit="return confirm('Show verwijderen?')" style="margin:0">
     36          <form method="POST" action="<%= siteUrlBase %>/admin/shows/<%= s.id %>/delete" onsubmit="return confirm('Evenement verwijderen??')" style="margin:0">
    3737            <button type="submit" class="ash-del">🗑</button>
    3838          </form>
     
    4141    </ul>
    4242  <% } else { %>
    43     <p class="ash-empty">Nog geen shows.</p>
     43    <p class="ash-empty">Nog geen evenementen.</p>
    4444  <% } %>
    4545</section>
Note: See TracChangeset for help on using the changeset viewer.