Changeset ccbd6a6 in Klonkt


Ignore:
Timestamp:
06/14/2026 04:02:09 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
8cb1dc7
Parents:
a7e12de
Message:

hub: global pages (e.g. /account) bare; PrutFolio chrome only on /user/

In hub mode, non-admin global pages without site context (siteUrlBase empty)
no longer show masthead/profile-header/switcher — those belong to a PrutFolio
and only appear on /user/(/sites/) pages. /admin and solo unchanged.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    ra7e12de rccbd6a6  
    243243    - auth-pagina's (on-auth): focus-schermen voor in-/uitloggen.
    244244    Die chrome hoort bij een PrutFolio en verschijnt dus op /user/-pagina's. %>
    245 <% var bareChrome = (typeof bodyClass === 'string' && (bodyClass.indexOf('on-hub') >= 0 || bodyClass.indexOf('on-auth') >= 0)); %>
     245<% var bareChrome = (typeof bodyClass === 'string' && (bodyClass.indexOf('on-hub') >= 0 || bodyClass.indexOf('on-auth') >= 0))
     246     || ((typeof tenancy !== 'undefined' && tenancy === 'hub') && !siteUrlBase && !isAdminPage); %>
    246247
    247248<% if (!bareChrome) { %>
Note: See TracChangeset for help on using the changeset viewer.