Changeset 4885eab in Klonkt for src/views/pages/download.ejs
- Timestamp:
- 06/21/2026 03:05:14 PM (3 months ago)
- Branches:
- main
- Children:
- 5e61b17
- Parents:
- bbf9d1a
- File:
-
- 1 edited
-
src/views/pages/download.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/download.ejs
rbbf9d1a r4885eab 1 <% 2 var _ready_h1 = t('dl.ready_title'); 3 var _ready_sub = t('dl.ready_sub'); 4 var _manual = t('dl.manual'); 5 var _capture_sub = t('dl.capture_sub'); 6 var _email_ph = t('dl.email_ph'); 7 var _download_btn = t('dl.download_btn'); 8 %> 1 9 <% 2 10 var t = (typeof dlTrack !== 'undefined') ? dlTrack : {}; … … 15 23 16 24 <% if (st === 'ready') { %> 17 <h1 class="dl-h1"> Bedankt! ⬇</h1>18 <p class="dl-sub"> Je download zou nu moeten starten. Gebeurt er niets?</p>19 <p><a class="dl-go" href="<%= fileUrl %>"> Download handmatig starten</a></p>25 <h1 class="dl-h1"><%= _ready_h1 %></h1> 26 <p class="dl-sub"><%= _ready_sub %></p> 27 <p><a class="dl-go" href="<%= fileUrl %>"><%= _manual %></a></p> 20 28 <script> 21 29 // Auto-start de download (zelfde-origin attachment-link). … … 23 31 </script> 24 32 <% } else { %> 25 <h1 class="dl-h1"> Download<%= t.title %></h1>26 <p class="dl-sub"> Laat je e-mailadres achter en je krijgt het bestand. Je komt dan ook op de nieuwsbrieflijst — uitschrijven kan altijd.</p>33 <h1 class="dl-h1"><%= _download_btn %> <%= t.title %></h1> 34 <p class="dl-sub"><%= _capture_sub %></p> 27 35 <% if (typeof dlError !== 'undefined' && dlError) { %><p class="dl-err"><%= dlError %></p><% } %> 28 36 <form method="POST" action="<%= siteUrlBase %>/download/<%= t.id %>" class="dl-form"> 29 <input type="email" name="email" required placeholder=" jouw@email.nl" value="<%= (typeof dlPrefill!=='undefined')?dlPrefill:'' %>" autocomplete="email">30 <button type="submit" class="dl-go">⬇ Download</button>37 <input type="email" name="email" required placeholder="<%= _email_ph %>" value="<%= (typeof dlPrefill!=='undefined')?dlPrefill:'' %>" autocomplete="email"> 38 <button type="submit" class="dl-go">⬇ <%= _download_btn %></button> 31 39 </form> 32 40 <% } %>
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)