Changeset 1b4d5dd in Klonkt for src/views/pages/admin-settings.ejs
- Timestamp:
- 06/16/2026 06:23:28 AM (3 months ago)
- Branches:
- main
- Children:
- f63cbc2
- Parents:
- a9e23f6
- File:
-
- 1 edited
-
src/views/pages/admin-settings.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
ra9e23f6 r1b4d5dd 4 4 5 5 <% if (success) { %><div class="alert alert-success"><%= success %></div><% } %> 6 <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %> 6 7 7 8 <section class="set-card"> … … 37 38 </form> 38 39 </section> 40 41 <%# Premium (Patreon) — alleen zichtbaar als de self-hoster de premium-laag aanzet 42 (env KLONKT_PREMIUM_ENABLED=on). Standaard onzichtbaar; niets gegate. %> 43 <% if (premium && premium.enabled) { %> 44 <section class="set-card" style="margin-top:1rem"> 45 <h2>Premium (Patreon)</h2> 46 <p class="set-help">Ontgrendel de premium-modules (Hub-modus, Statistieken, Fan-login) 47 met je <strong>$10-lifetime</strong> Patreon-steun. De app en alle updates blijven gratis.</p> 48 <% if (premium.premium) { %> 49 <p class="set-help"><strong>✓ Premium actief.</strong> 50 <% if (premium.supportCents) { %>Lifetime-steun: $<%= (premium.supportCents/100).toFixed(2) %>.<% } %></p> 51 <a href="/admin/patreon/disconnect" class="btn">Patreon ontkoppelen</a> 52 <% } else if (premium.connected) { %> 53 <p class="set-help">Patreon gekoppeld, maar nog geen $10 lifetime<% if (premium.supportCents) { %> 54 (nu $<%= (premium.supportCents/100).toFixed(2) %>)<% } %>. Steun de campagne en koppel opnieuw.</p> 55 <a href="/admin/patreon/connect" class="btn btn-primary">Opnieuw koppelen</a> 56 <% } else { %> 57 <p class="set-help">Nog niet gekoppeld.</p> 58 <a href="/admin/patreon/connect" class="btn btn-primary">Koppel Patreon</a> 59 <% } %> 60 </section> 61 <% } %> 39 62 40 63 <% if (tenancy === 'hub') { %>
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)