Changeset b94c08e in Klonkt for src/views/partials/profile-sheet.ejs
- Timestamp:
- 06/14/2026 05:25:41 PM (3 months ago)
- Branches:
- main
- Children:
- 8afbdd6
- Parents:
- 7963a6e
- File:
-
- 1 edited
-
src/views/partials/profile-sheet.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/profile-sheet.ejs
r7963a6e rb94c08e 21 21 : (user.role === 'editor') ? 'redacteur' 22 22 : ''; 23 // Site-scoped link (post-aanmaken) heeft in hub de /user/<slug>-prefix nodig. 24 const _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 23 25 %> 24 26 … … 64 66 <% if (_canPost) { %> 65 67 <li role="none"> 66 <a href=" /posts/new" class="profile-sheet-item" role="menuitem" data-close-sheet67 hx-get=" /posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"68 hx-push-url=" /posts/new" hx-indicator="#pcms-loading">68 <a href="<%= _base %>/posts/new" class="profile-sheet-item" role="menuitem" data-close-sheet 69 hx-get="<%= _base %>/posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 70 hx-push-url="<%= _base %>/posts/new" hx-indicator="#pcms-loading"> 69 71 <svg class="psi-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-4L16.5 3.5z"/></svg> 70 72 <span class="psi-label">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)