Changeset 8aa85d0 in Klonkt for src/views/partials
- Timestamp:
- 06/16/2026 06:58:03 AM (3 months ago)
- Branches:
- main
- Children:
- 2c246d4
- Parents:
- eef691e
- Location:
- src/views/partials
- Files:
-
- 2 edited
-
bottom-tab.ejs (modified) (1 diff)
-
topnav.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/bottom-tab.ejs
reef691e r8aa85d0 13 13 const _canPost = !!(user && (typeof canMutate === 'undefined' || canMutate) 14 14 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site)); 15 const _hasPrutter = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') );15 const _hasPrutter = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked)); 16 16 const _ownProfile = user ? ('/users/' + user.username) : null; 17 17 -
src/views/partials/topnav.ejs
reef691e r8aa85d0 15 15 const _isAdmin = typeof bodyClass !== 'undefined' && bodyClass.indexOf('on-admin') >= 0; 16 16 const _hasSearch = !site || site.show_search === undefined || site.show_search; 17 const _hasPrutter = user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') ;17 const _hasPrutter = user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked); 18 18 const _canPost = user && (typeof canMutate === 'undefined' || canMutate) 19 19 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site);
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)