Changeset b94c08e in Klonkt for src/views/partials
- Timestamp:
- 06/14/2026 05:25:41 PM (3 months ago)
- Branches:
- main
- Children:
- 8afbdd6
- Parents:
- 7963a6e
- Location:
- src/views/partials
- Files:
-
- 2 edited
-
bottom-tab.ejs (modified) (1 diff)
-
profile-sheet.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/bottom-tab.ejs
r7963a6e rb94c08e 59 59 <% if (_canPost) { %> 60 60 <a class="bottom-tab-item bottom-tab-fab<%= _active === 'create' ? ' is-active' : '' %>" 61 href=" /posts/new"62 hx-get=" /posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"63 hx-push-url=" /posts/new" hx-indicator="#pcms-loading"61 href="<%= _siteUrlBase %>/posts/new" 62 hx-get="<%= _siteUrlBase %>/posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 63 hx-push-url="<%= _siteUrlBase %>/posts/new" hx-indicator="#pcms-loading" 64 64 aria-label="Nieuwe post"> 65 65 <svg class="bottom-tab-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> -
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)