Changeset 8afbdd6 in Klonkt for src/views/partials/bottom-tab.ejs
- Timestamp:
- 06/14/2026 06:07:51 PM (3 months ago)
- Branches:
- main
- Children:
- c869272
- Parents:
- b94c08e
- File:
-
- 1 edited
-
src/views/partials/bottom-tab.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/bottom-tab.ejs
rb94c08e r8afbdd6 11 11 const _siteUrlBase = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 12 12 const _path = (typeof currentPath !== 'undefined' && currentPath) ? currentPath : '/'; 13 const _canPost = !!(user && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site)); 13 const _canPost = !!(user && (typeof canMutate === 'undefined' || canMutate) 14 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site)); 14 15 const _hasPrutter = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub')); 15 16 const _ownProfile = user ? ('/users/' + user.username) : null;
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)