Changeset 4885eab in Klonkt for src/views/pages/artists-directory.ejs
- Timestamp:
- 06/21/2026 03:05:14 PM (3 months ago)
- Branches:
- main
- Children:
- 5e61b17
- Parents:
- bbf9d1a
- File:
-
- 1 edited
-
src/views/pages/artists-directory.ejs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/artists-directory.ejs
rbbf9d1a r4885eab 15 15 <nav class="adir-nav"> 16 16 <div class="adir-nav-inner container"> 17 <a class="adir-nav-home" href="/"><span aria-hidden="true">←</span> <%= (typeof hubTitle !== 'undefined' && hubTitle) ? hubTitle : 'Home'%></a>17 <a class="adir-nav-home" href="/"><span aria-hidden="true">←</span> <%= (typeof hubTitle !== 'undefined' && hubTitle) ? hubTitle : t('adir.home') %></a> 18 18 <span class="adir-nav-spacer"></span> 19 19 <% if (user) { %> 20 20 <a class="adir-nav-link" href="/account"><%= user.username %></a> 21 <a class="adir-nav-link" href="/auth/logout"> Uitloggen</a>21 <a class="adir-nav-link" href="/auth/logout"><%= t('adir.logout') %></a> 22 22 <% } else { %> 23 <a class="adir-nav-link" href="/auth/login"> Inloggen</a>23 <a class="adir-nav-link" href="/auth/login"><%= t('adir.login') %></a> 24 24 <% } %> 25 25 </div> … … 27 27 28 28 <header class="adir-head container"> 29 <h1 class="adir-title"> Leden</h1>30 <p class="adir-sub"><%= t otal %> Klonkt<%= total === 1 ? '' : "'s"%></p>29 <h1 class="adir-title"><%= t('adir.title') %></h1> 30 <p class="adir-sub"><%= t(total === 1 ? 'adir.count_one' : 'adir.count_many', { n: total }) %></p> 31 31 32 32 <form class="adir-search" method="get" action="/leden" role="search"> 33 <input type="search" name="q" value="<%= q %>" placeholder=" Zoek op naam…"34 autocomplete="off" aria-label=" Zoek leden">35 <button type="submit" class="adir-search-btn" aria-label=" Zoeken">33 <input type="search" name="q" value="<%= q %>" placeholder="<%= t('adir.search_ph') %>" 34 autocomplete="off" aria-label="<%= t('adir.search_aria') %>"> 35 <button type="submit" class="adir-search-btn" aria-label="<%= t('adir.search_btn') %>"> 36 36 <svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg> 37 37 </button> 38 <% if (q) { %><a class="adir-search-clear" href="/leden"> Wissen</a><% } %>38 <% if (q) { %><a class="adir-search-clear" href="/leden"><%= t('adir.clear') %></a><% } %> 39 39 </form> 40 40 </header> … … 43 43 <% if (!artists.length) { %> 44 44 <p class="adir-empty"> 45 <% if (q) { %> Geen leden gevonden voor "<strong><%= q %></strong>".<% } else { %>Nog geen leden.<% } %>45 <% if (q) { %><%- t('adir.empty_q', { q: '<strong>' + q + '</strong>' }) %><% } else { %><%= t('adir.empty') %><% } %> 46 46 </p> 47 47 <% } else { %> … … 55 55 <span class="roster-name"><%= a.title %></span> 56 56 <% if (a.tagline) { %><span class="roster-tag"><%= a.tagline %></span><% } %> 57 <span class="roster-count"><%= a.post_count %> post<%= a.post_count === 1 ? '' : 's'%></span>57 <span class="roster-count"><%= t(a.post_count === 1 ? 'adir.posts_one' : 'adir.posts_many', { n: a.post_count }) %></span> 58 58 </a> 59 59 <% }); %> … … 61 61 62 62 <% if (pages > 1) { %> 63 <nav class="adir-pager" aria-label=" Paginering">63 <nav class="adir-pager" aria-label="<%= t('adir.pager_aria') %>"> 64 64 <% if (page > 1) { %> 65 <a class="adir-page" href="<%= _qs({ page: page - 1 }) %>" rel="prev"> ← Vorige</a>65 <a class="adir-page" href="<%= _qs({ page: page - 1 }) %>" rel="prev"><%= t('adir.prev') %></a> 66 66 <% } else { %> 67 <span class="adir-page is-disabled"> ← Vorige</span>67 <span class="adir-page is-disabled"><%= t('adir.prev') %></span> 68 68 <% } %> 69 <span class="adir-page-info"> Pagina <%= page %> van <%= pages%></span>69 <span class="adir-page-info"><%= t('adir.page_info', { page: page, pages: pages }) %></span> 70 70 <% if (page < pages) { %> 71 <a class="adir-page" href="<%= _qs({ page: page + 1 }) %>" rel="next"> Volgende →</a>71 <a class="adir-page" href="<%= _qs({ page: page + 1 }) %>" rel="next"><%= t('adir.next') %></a> 72 72 <% } else { %> 73 <span class="adir-page is-disabled"> Volgende →</span>73 <span class="adir-page is-disabled"><%= t('adir.next') %></span> 74 74 <% } %> 75 75 </nav>
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)