Changeset 2cc887b in Klonkt for src/views/partials/bottom-tab.ejs


Ignore:
Timestamp:
06/14/2026 08:33:10 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
52215bc
Parents:
8b014ef
Message:

tenancy: Prutter in hub only; Account tile removed from admin; tenancy in all views

  • render.js: tenancy in the shared locals -> available in every view/partial.
  • topnav + bottom-tab: Prutter nav only in hub mode (hidden in solo).
  • admin dashboard: duplicate Account removed (already in mini-nav/profile menu).

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/bottom-tab.ejs

    r8b014ef r2cc887b  
    1212const _path        = (typeof currentPath !== 'undefined' && currentPath) ? currentPath : '/';
    1313const _canPost     = !!(user && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site));
    14 const _hasPrutter  = !!(user && site && site.enable_prutter);
     14const _hasPrutter  = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub'));
    1515const _ownProfile  = user ? ('/users/' + user.username) : null;
    1616
Note: See TracChangeset for help on using the changeset viewer.