Changeset 834bcc3 in Klonkt for src/routes/admin-epk.js
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/routes/admin-epk.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-epk.js
rbb42dfb r834bcc3 1 1 /** 2 * Admin: Perskit (EPK) bewerken — per-site bio + pers-contact.2 * Admin: Edit press kit (EPK) — per-site bio + press contact. 3 3 * 4 * GET /admin/epk -> form ulier met huidigebio + contact5 * POST /admin/epk -> opslaan(app_settings: epk_bio_<siteId> / epk_contact_<siteId>)4 * GET /admin/epk -> form with current bio + contact 5 * POST /admin/epk -> save (app_settings: epk_bio_<siteId> / epk_contact_<siteId>) 6 6 * 7 * De perskit-pagina zelf (/pers) leest deze waarden; tracks + recente posts komen8 * automati sch. Perskit is premium + solo (zie routes/epk.js).7 * The press kit page itself (/pers) reads these values; tracks + recent posts come 8 * automatically. Press kit is premium + solo (see routes/epk.js). 9 9 */ 10 10 … … 49 49 setSetting('epk_bio_' + site.id, (req.body.epk_bio || '').toString().slice(0, 1000).trim()); 50 50 setSetting('epk_contact_' + site.id, (req.body.epk_contact || '').toString().slice(0, 300).trim()); 51 // Gekozen nummers: alleen ids van DEZE site, max 5, in de aangeleverde volgorde.51 // Chosen tracks: only ids belonging to THIS site, max 5, in the supplied order. 52 52 let ids = req.body.epk_tracks; 53 53 if (!Array.isArray(ids)) ids = ids ? [ids] : [];
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)