Changeset 1eff06a in Klonkt for src/views/partials/view-switcher.ejs
- Timestamp:
- 06/20/2026 07:57:56 AM (3 months ago)
- Branches:
- main
- Children:
- 6eeb459
- Parents:
- da4387b
- File:
-
- 1 edited
-
src/views/partials/view-switcher.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/view-switcher.ejs
rda4387b r1eff06a 5 5 <div class="view-switcher-wrap"> 6 6 <div class="container"> 7 <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked && typeof agendaEnabled !== 'undefined' && agendaEnabled) { 8 var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 9 %> 10 <div class="agenda-pill"> 11 <a class="vs-agenda" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen"> 12 <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"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg> 13 <span>Agenda</span> 14 </a> 15 </div> 16 <% } %> 7 17 <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') { 8 18 var _onCirkel = (typeof bodyClass === 'string' && bodyClass.indexOf('on-cirkel') >= 0); … … 17 27 <% } %> 18 28 <div class="view-switcher" role="tablist" aria-label="Weergave"> 19 <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked && typeof agendaEnabled !== 'undefined' && agendaEnabled) {20 var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';21 var _agActive = (typeof bodyClass === 'string' && bodyClass.indexOf('on-shows') >= 0);22 %>23 <a class="vs-agenda<%= _agActive ? ' is-active' : '' %>" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen">24 <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"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>25 <span>Agenda</span>26 </a>27 <% } %>28 29 <button type="button" class="view-switch-btn" data-view="timeline" role="tab" 29 30 aria-selected="<%= (typeof site !== 'undefined' && site && site.feed_view_default === 'grid') ? 'false' : 'true' %>">
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)