Changeset 8f2f97c in Klonkt for src/views/partials/topnav.ejs
- Timestamp:
- 06/23/2026 02:24:46 PM (3 months ago)
- Branches:
- main
- Children:
- cb01666
- Parents:
- 24cdcc6
- File:
-
- 1 edited
-
src/views/partials/topnav.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/topnav.ejs
r24cdcc6 r8f2f97c 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') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked);18 17 const _canPost = user && (typeof canMutate === 'undefined' || canMutate) 19 18 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site); … … 98 97 </div> 99 98 </details> 100 <% } %>101 102 <% if (_hasPrutter) { %>103 <a class="nav-btn" href="<%= _siteUrlBase %>/prutter" aria-label="Prutter (DMs)" title="Prutter">104 <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>105 </a>106 99 <% } %> 107 100
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)