Changeset f7d142f in Klonkt for src/views/partials
- Timestamp:
- 06/28/2026 03:36:22 PM (2 months ago)
- Branches:
- main
- Children:
- 81bb9c5
- Parents:
- 127f87e
- Location:
- src/views/partials
- Files:
-
- 3 edited
-
fedi-node.ejs (modified) (1 diff)
-
footer.ejs (modified) (1 diff)
-
playlist-editor.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-node.ejs
r127f87e rf7d142f 14 14 <div class="comment-actions"> 15 15 <% if (n.mine && typeof canManageSite !== 'undefined' && canManageSite && n.outboxId) { %> 16 <form method="post" action="<%= _base %>/fediverse/<%= n.outboxId %>/delete" onsubmit="return confirm('<%= t('fedi.delete_confirm') %>')">16 <form method="post" action="<%= _base %>/fediverse/<%= n.outboxId %>/delete" data-confirm="<%= t('fedi.delete_confirm') %>"> 17 17 <button type="submit" class="comment-delete-btn"><%= t('comments.delete') %></button> 18 18 </form> -
src/views/partials/footer.ejs
r127f87e rf7d142f 22 22 <% if (typeof langs !== 'undefined' && langs && langs.length > 1) { %> 23 23 <select class="footer-lang" aria-label="<%= t('nav.language') %>" 24 onchange="location.href='/lang/'+this.value+'?r='+encodeURIComponent(location.pathname+location.search)">24 data-lang-switch> 25 25 <% langs.forEach(function(l){ %><option value="<%= l.code %>"<%= l.active ? ' selected' : '' %>><%= l.name %></option><% }); %> 26 26 </select> -
src/views/partials/playlist-editor.ejs
r127f87e rf7d142f 442 442 const u = coverEl.value.trim(); 443 443 coverThumb.innerHTML = u 444 ? `<img src="${esc(u)}" alt="" onerror="this.parentElement.innerHTML='<span class=\\'pl-cover-empty\\'>⚠️</span>'">`444 ? `<img src="${esc(u)}" alt="" data-fallback>` 445 445 : `<span class="pl-cover-empty">🎨</span>`; 446 446 });
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)