Changeset 2149f5a in Klonkt for src/views/pages/admin.ejs


Ignore:
Timestamp:
06/20/2026 01:59:32 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
83b8b8f
Parents:
66cfbaa
Message:

feat(i18n): language dropdown (NL/EN/DE) in the header nav instead of footer

  • Compact language select in the topnav action row (desktop), codes NL/EN/DE.
  • Footer select only on mobile (desktop has it in the header).
  • Standalone admin dashboard select removed (header select shows on admin too).

style.css?v=27.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin.ejs

    r66cfbaa r2149f5a  
    11<div class="container admin-page">
    2   <% if (typeof langs !== 'undefined' && langs && langs.length > 1) { %>
    3     <select class="footer-lang" style="float:right;margin-left:1rem" aria-label="<%= t('nav.language') %>"
    4             onchange="location.href='/lang/'+this.value+'?r='+encodeURIComponent(location.pathname+location.search)">
    5       <% langs.forEach(function(l){ %><option value="<%= l.code %>"<%= l.active ? ' selected' : '' %>><%= l.name %></option><% }); %>
    6     </select>
    7   <% } %>
    82  <h1><%= t('admin.title') %></h1>
    93  <% if (tenancy === 'hub') { %>
Note: See TracChangeset for help on using the changeset viewer.