Changeset 34e63f0 in Klonkt for src/views/partials
- Timestamp:
- 08/08/2026 05:30:13 AM (5 weeks ago)
- Branches:
- main
- Children:
- 4d81de5
- Parents:
- ffb371c
- git-author:
- Robin <roboburr@…> (08/08/2026 05:30:12 AM)
- git-committer:
- roboburr <roboburr@…> (08/08/2026 05:30:13 AM)
- Location:
- src/views/partials
- Files:
-
- 2 edited
-
fedi-node.ejs (modified) (2 diffs)
-
msg-item.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-node.ejs
rffb371c r34e63f0 46 46 <button type="submit" class="fedi-cact fedi-cact-boost<%= n.acted_boost ? ' is-on' : '' %>" title="<%= n.acted_boost ? t('tl.unboost') : t('fedi.boost_short') %>" aria-label="<%= n.acted_boost ? t('tl.unboost') : t('fedi.boost_short') %>"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="17 1 21 5 17 9"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><polyline points="7 23 3 19 7 15"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/></svg></button> 47 47 </form> 48 <% if (locals.mayReply !== false) { %> 48 49 <details class="fedi-owner-reply"> 49 50 <summary class="fedi-cact fedi-cact-reply" title="<%= t('fedi.remote_reply_short') %>" aria-label="<%= t('fedi.remote_reply_short') %>"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg></summary> … … 57 58 }) %> 58 59 </details> 60 <% } %> 59 61 <%# Owner moderation: report to their instance + remove (tombstoned: never comes back via re-delivery or thread-crawl). %> 60 62 <form method="post" action="<%= _base %>/interactions/<%= n.id %>/report" class="fedi-owner-react" data-confirm="<%= t('fedi.mod_report_confirm') %>"> -
src/views/partials/msg-item.ejs
rffb371c r34e63f0 48 48 draad aan een post krijgt een reply, een draad aan een persoon een 49 49 direct bericht. %> 50 <% var _rt = n.replyTo || {}; var _kan = canMutate && ((_rt.interactionId && _rt.postSlug) || _rt.actorUri); %> 50 <%# shaer-r4c: precies de tak die de server ook kiest. /messages/reply 51 gaat naar deliverReply als er een interaction+post is (dat is een 52 ANTWOORD en valt onder de poort), en anders naar deliverDirectNote 53 (dat is een bericht, andere poort). Alleen de eerste verbergen. %> 54 <% var _rt = n.replyTo || {}; var _thread = _rt.interactionId && _rt.postSlug; %> 55 <% var _kan = canMutate && ((_thread && locals.mayReply !== false) || (!_thread && _rt.actorUri)); %> 51 56 <% if (_kan) { %> 52 57 <div class="msg-thread-foot">
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)