Changeset 8cb1dc7 in Klonkt for src/views/partials/topnav.ejs
- Timestamp:
- 06/14/2026 04:17:14 PM (3 months ago)
- Branches:
- main
- Children:
- 640b39c
- Parents:
- ccbd6a6
- File:
-
- 1 edited
-
src/views/partials/topnav.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/topnav.ejs
rccbd6a6 r8cb1dc7 109 109 <span>Account</span> 110 110 </a> 111 <% if (user.role === 'god' || user.role === 'admin' ) { %>111 <% if (user.role === 'god' || user.role === 'admin' || (typeof userOwnsSite !== 'undefined' && userOwnsSite)) { %> 112 112 <a href="/admin" role="menuitem" class="udi"> 113 113 <svg class="udi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3h7v7H3z"/><path d="M14 3h7v7h-7z"/><path d="M14 14h7v7h-7z"/><path d="M3 14h7v7H3z"/></svg> … … 116 116 <% } %> 117 117 <% if (_canPost) { %> 118 <a href=" /posts/new" role="menuitem" class="udi"119 hx-get=" /posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"120 hx-push-url=" /posts/new" hx-indicator="#pcms-loading">118 <a href="<%= _siteUrlBase %>/posts/new" role="menuitem" class="udi" 119 hx-get="<%= _siteUrlBase %>/posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 120 hx-push-url="<%= _siteUrlBase %>/posts/new" hx-indicator="#pcms-loading"> 121 121 <svg class="udi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg> 122 122 <span>Nieuwe post</span>
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)