Changeset 70e9147 in Klonkt for src/views/partials/view-switcher.ejs
- Timestamp:
- 08/19/2026 06:15:33 PM (3 weeks ago)
- Branches:
- main
- Children:
- 70dbef4
- Parents:
- 8501ee8
- git-author:
- Bart <bart@…> (08/19/2026 05:39:25 PM)
- git-committer:
- Bart <bart@…> (08/19/2026 06:15:33 PM)
- File:
-
- 1 edited
-
src/views/partials/view-switcher.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/view-switcher.ejs
r8501ee8 r70e9147 40 40 <% } %> 41 41 <div class="view-switcher" role="tablist" aria-label="Weergave"> 42 <button type="button" class="view-switch-btn" data-view="timeline" role="tab" 42 <% if (_leesbaar) { %> 43 <%# Lezen is de standaardweergave sinds Tijdlijn weg is: hele berichten, 44 één per scherm. De chronologische lijst bestaat nog wel als opmaak 45 (.feed-timeline, ook op de cirkel en het archief), maar is geen KEUZE 46 meer -- daar was Lezen de betere vorm van. %> 47 <button type="button" class="view-switch-btn" data-view="reader" role="tab" 43 48 aria-selected="<%= (!_neutral && !(typeof site !== 'undefined' && site && site.feed_view_default === 'grid')) ? 'true' : 'false' %>"> 44 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">< line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><line x1="3" y1="6" x2="3.01" y2="6"/><line x1="3" y1="12" x2="3.01" y2="12"/><line x1="3" y1="18" x2="3.01" y2="18"/></svg>45 <span><%= t('switch. timeline') %></span>49 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg> 50 <span><%= t('switch.reader') %></span> 46 51 </button> 52 <% } %> 47 53 <button type="button" class="view-switch-btn" data-view="grid" role="tab" 48 54 aria-selected="<%= (!_neutral && (typeof site !== 'undefined' && site && site.feed_view_default === 'grid')) ? 'true' : 'false' %>"> … … 50 56 <span><%= t('switch.grid') %></span> 51 57 </button> 52 <% if (_leesbaar) { %>53 <%# Lezen is een gewone derde weergave: dezelfde berichten, andere vorm.54 Dus een <button> met data-view, net als de andere twee -- dan doen de55 gedelegeerde klik, localStorage en syncAria in shell.ejs hun werk al. %>56 <button type="button" class="view-switch-btn" data-view="reader" role="tab"57 aria-selected="false">58 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>59 <span><%= t('switch.reader') %></span>60 </button>61 <% } %>62 58 </div> 63 59 <% if (!_neutral) { %>
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)