Changeset 91c0a39 in Klonkt for src/views/pages/downloads.ejs
- Timestamp:
- 06/20/2026 01:50:48 PM (3 months ago)
- Branches:
- main
- Children:
- 66cfbaa
- Parents:
- 03fa548
- File:
-
- 1 edited
-
src/views/pages/downloads.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/downloads.ejs
r03fa548 r91c0a39 1 1 <% 2 2 var ts = (typeof dlTracks !== 'undefined') ? dlTracks : []; 3 // NB: de loop hieronder gebruikt 't' als track-variabele, die de vertaal-t() 4 // overschaduwt. Daarom het knoplabel hier al ophalen. 5 var _dlBtn = t('downloads.btn'); 3 6 %> 4 7 <article class="container post-page"> 5 8 <%- include('../partials/post-nav', { newerPost: (typeof newerPost !== 'undefined' ? newerPost : null), olderPost: (typeof olderPost !== 'undefined' ? olderPost : null) }) %> 6 9 <section class="dls"> 7 <h1 class="dls-h1"> Downloads</h1>8 <p class="dls-sub"> Gratis te downloaden — laat je e-mailadres achter en je krijgt het bestand.</p>10 <h1 class="dls-h1"><%= t('downloads.title') %></h1> 11 <p class="dls-sub"><%= t('downloads.sub') %></p> 9 12 10 13 <% if (!ts.length) { %> 11 <p class="dls-empty"> Er staan momenteel geen downloads klaar.</p>14 <p class="dls-empty"><%= t('downloads.empty') %></p> 12 15 <% } else { %> 13 16 <ul class="dls-list"> … … 19 22 <% if (t.artist) { %><span class="dls-artist"><%= t.artist %></span><% } %> 20 23 </span> 21 <a class="dls-btn" href="<%= siteUrlBase %>/download/<%= t.id %>"> ⬇ Download</a>24 <a class="dls-btn" href="<%= siteUrlBase %>/download/<%= t.id %>"><%= _dlBtn %></a> 22 25 </li> 23 26 <% }); %>
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)