Changeset f5c3870 in Klonkt for src/views/partials/topnav.ejs
- Timestamp:
- 06/24/2026 04:08:34 PM (3 months ago)
- Branches:
- main
- Children:
- 19a72df
- Parents:
- d0cab9d
- File:
-
- 1 edited
-
src/views/partials/topnav.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/topnav.ejs
rd0cab9d rf5c3870 99 99 <% } %> 100 100 101 <% if (user ) { %>102 <a class="nav-btn nav-notif" href="/ notifications" aria-label="<%= t('nav.notifications') %>" title="<%= t('nav.notifications') %>"103 hx-get="/ notifications?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/notifications" hx-indicator="#pcms-loading">101 <% if (user && typeof canManageFedi !== 'undefined' && canManageFedi) { %> 102 <a class="nav-btn nav-notif" href="/meldingen" aria-label="<%= t('notif.title') %>" title="<%= t('notif.title') %>" 103 hx-get="/meldingen?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/meldingen" hx-indicator="#pcms-loading"> 104 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="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg> 105 <% if (typeof notifUnread !== 'undefined' && notifUnread > 0) { %><span class="notif-badge"><%= notifUnread > 9 ? '9+' : notifUnread %></span><% } %>106 105 </a> 107 106 <% } %> … … 139 138 <span><%= t('nav.account') %></span> 140 139 </a> 141 <a href="/notifications" role="menuitem" class="udi" 142 hx-get="/notifications?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 143 hx-push-url="/notifications" hx-indicator="#pcms-loading"> 140 <% if (typeof canManageFedi !== 'undefined' && canManageFedi) { %> 141 <a href="/meldingen" role="menuitem" class="udi" 142 hx-get="/meldingen?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 143 hx-push-url="/meldingen" hx-indicator="#pcms-loading"> 144 144 <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="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg> 145 <span><%= t('n av.notifications') %><% if (typeof notifUnread !== 'undefined' && notifUnread > 0) { %> (<%= notifUnread %>)<% }%></span>145 <span><%= t('notif.title') %></span> 146 146 </a> 147 <% } %> 147 148 <a href="/favorieten" role="menuitem" class="udi" 148 149 hx-get="/favorieten?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"
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)