Changeset 834bcc3 in Klonkt for src/routes/admin-shows.js
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/routes/admin-shows.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-shows.js
rbb42dfb r834bcc3 1 1 /** 2 * Show -agenda (premium feature #8) — beheerkant.2 * Show agenda (premium feature #8) — admin side. 3 3 * 4 * GET /admin/shows -> li jst + toevoeg-formulier5 * POST /admin/shows -> show toevoegen (optioneel notify-mail naar abonnees)4 * GET /admin/shows -> list + add form 5 * POST /admin/shows -> add show (optional notify email to subscribers) 6 6 * POST /admin/shows/:id/delete 7 7 * 8 * Premium + site -beheerder. Notify-mail vereist SMTP; zonder SMTP wordt de show9 * gewoon opgeslagen (geen mail).8 * Premium + site manager. Notify email requires SMTP; without SMTP the show is 9 * simply saved (no email sent). 10 10 */ 11 11 … … 79 79 }); 80 80 sent++; 81 } catch { /* s la over*/ }81 } catch { /* skip */ } 82 82 } 83 83 } … … 86 86 87 87 router.post('/toggle', requireSiteManager, premiumGate, (req, res) => { 88 // Agenda tonen op de site (Agenda-knop in de pill + /shows-pagina).88 // Show the agenda on the site (Agenda button in the pill + /shows page). 89 89 setSetting('agenda_enabled', req.body.enabled ? '1' : '0'); 90 90 res.redirect((res.locals.siteUrlBase || '') + '/admin/shows');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)