Changeset feced2c in Klonkt for src/views/partials/fedi-node.ejs
- Timestamp:
- 07/19/2026 05:25:26 PM (7 weeks ago)
- Branches:
- main
- Children:
- 5190152
- Parents:
- 33e1dbd
- git-author:
- Robin <roboburr@…> (07/19/2026 05:24:58 PM)
- git-committer:
- Robin <roboburr@…> (07/19/2026 05:25:26 PM)
- File:
-
- 1 edited
-
src/views/partials/fedi-node.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-node.ejs
r33e1dbd rfeced2c 12 12 </div> 13 13 <div class="comment-content"><%- n.content %></div> 14 <%# Rich replies: media on our own sent replies (attachments on the Note). 15 Visitors see these too, and the reply editor (owner-only) may not render, 16 so make sure the stylesheet is on the page either way. %> 17 <% if (n.media && n.media.length) { %> 18 <% if (!locals.__reAssets) { locals.__reAssets = 1; %><link rel="stylesheet" href="/assets/css/reply-editor.css"><% } %> 19 <div class="re-reply-media"> 20 <% n.media.forEach(function (m) { %> 21 <% if ((m.mediaType || '').indexOf('image/') === 0) { %> 22 <a href="<%= m.url %>" target="_blank" rel="noopener"><img src="<%= m.url %>" alt="<%= m.name || '' %>" loading="lazy"></a> 23 <% } else if ((m.mediaType || '').indexOf('audio/') === 0) { %> 24 <audio controls preload="none" src="<%= m.url %>"></audio> 25 <% } else { %> 26 <video controls preload="metadata" src="<%= m.url %>"></video> 27 <% } %> 28 <% }); %> 29 </div> 30 <% } %> 14 31 <div class="comment-actions"> 15 32 <% if (n.mine && typeof canManageSite !== 'undefined' && canManageSite && n.outboxId) { %>
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)