Changeset c3d12a6 in Klonkt for src/views/pages/paid-result.ejs
- Timestamp:
- 07/21/2026 02:07:18 AM (7 weeks ago)
- Branches:
- main
- Children:
- 9019a3e
- Parents:
- 603d246
- git-author:
- Robin <roboburr@…> (07/21/2026 02:07:07 AM)
- git-committer:
- Robin <roboburr@…> (07/21/2026 02:07:18 AM)
- File:
-
- 1 edited
-
src/views/pages/paid-result.ejs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/paid-result.ejs
r603d246 rc3d12a6 1 <% 2 var _slug = (typeof postSlug !== 'undefined' && postSlug) ? postSlug : ''; 3 var _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 4 var _patron = (typeof patronUrl !== 'undefined' && patronUrl) ? patronUrl : ''; 5 %> 1 6 <section class="pr"> 2 7 <div class="pr-card"> … … 4 9 <% if (reason === 'notpatron') { %> 5 10 <h1 class="pr-h1">Nog geen supporter</h1> 6 <p class="pr-sub">Je bent (nog) geen actieve supporter van deze site op Patreon. Word supporter en probeer het opnieuw.</p>11 <p class="pr-sub">Je bent (nog) geen actieve supporter van deze site op Patreon. Word supporter en probeer het daarna opnieuw vanaf de post.</p> 7 12 <% } else if (reason === 'tier') { %> 8 13 <h1 class="pr-h1">Een niveau hoger nodig</h1> … … 11 16 Jouw steun is nu €<%= ((typeof haveCents !== 'undefined' ? haveCents : 0)/100).toFixed(2) %>. Verhoog je steun en probeer opnieuw. 12 17 </p> 18 <% } else if (reason === 'expired') { %> 19 <h1 class="pr-h1">Aanvraag verlopen</h1> 20 <p class="pr-sub">Deze ontgrendel-link is verlopen of al gebruikt. Ga terug naar de post en probeer het opnieuw.</p> 13 21 <% } else { %> 14 22 <h1 class="pr-h1">Ontgrendelen afgebroken</h1> 15 23 <p class="pr-sub">Er is niets gekoppeld. Je kunt het opnieuw proberen vanaf de post.</p> 16 24 <% } %> 17 <% if (typeof postSlug !== 'undefined' && postSlug) { %> 18 <p><a class="pr-btn" href="<%= (typeof siteUrlBase !== 'undefined' && siteUrlBase ? siteUrlBase : '') %>/<%= postSlug %>">Terug naar de post</a></p> 19 <% } %> 25 26 <div class="pr-actions"> 27 <% if ((reason === 'notpatron' || reason === 'tier') && _patron) { %> 28 <a class="pr-btn" href="<%= _patron %>" target="_blank" rel="noopener">Word supporter op Patreon</a> 29 <% } %> 30 <% if (_slug) { %> 31 <a class="pr-btn pr-btn-ghost" href="<%= _base %>/<%= _slug %>">Terug naar de post</a> 32 <% } else { %> 33 <a class="pr-btn pr-btn-ghost" href="<%= _base %>/">Terug naar de site</a> 34 <% } %> 35 </div> 20 36 </div> 21 37 </section> … … 26 42 .pr-ic { font-size: 38px; margin-bottom: 6px; } 27 43 .pr-h1 { font-size: 23px; margin: 0 0 8px; } 28 .pr-sub { opacity: .85; line-height: 1.6; margin: 0 0 18px; } 44 .pr-sub { opacity: .85; line-height: 1.6; margin: 0 0 20px; } 45 .pr-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; } 29 46 .pr-btn { display: inline-block; padding: 11px 20px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; } 47 .pr-btn-ghost { background: transparent; color: var(--ink,#222); border: 1px solid color-mix(in srgb, var(--ink,#000) 22%, transparent); } 30 48 </style>
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)