- Timestamp:
- 07/19/2026 05:08:32 PM (7 weeks ago)
- Branches:
- main
- Children:
- feced2c
- Parents:
- 2d66d66
- git-author:
- Robin <roboburr@…> (07/19/2026 05:08:12 PM)
- git-committer:
- Robin <roboburr@…> (07/19/2026 05:08:32 PM)
- Location:
- src/views
- Files:
-
- 1 added
- 2 edited
-
pages/authorize-interaction.ejs (modified) (1 diff)
-
partials/fedi-node.ejs (modified) (1 diff)
-
partials/reply-editor.ejs (added)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r2d66d66 r33e1dbd 189 189 <p class="auth-interact-or"><%= t('fedi.or_reply') %></p> 190 190 <p class="auth-interact-where">💬 <%= t('fedi.reply_where') %></p> 191 <form method="post" action="/authorize_interaction" class="auth-interact-form"> 192 <input type="hidden" name="uri" value="<%= uri %>"> 193 <textarea name="text" rows="4" required placeholder="<%= t('fedi.reply_ph') %>"></textarea> 194 <div class="auth-interact-actions"> 195 <button type="submit" class="btn"><%= t('fedi.send') %></button> 196 <a href="<%= uri %>" class="btn"><%= t('comments.cancel') %></a> 197 </div> 198 </form> 191 <div class="auth-interact-form"> 192 <%- include('../partials/reply-editor', { 193 action: '/authorize_interaction', 194 hiddenFields: [{ name: 'uri', value: uri }], 195 placeholder: t('fedi.reply_ph'), 196 submitLabel: t('fedi.send'), 197 rows: 4, 198 }) %> 199 <div class="auth-interact-actions"><a href="<%= uri %>" class="btn"><%= t('comments.cancel') %></a></div> 200 </div> 199 201 <p class="auth-interact-note"><%= t('fedi.remote_as', { site: siteTitle }) %></p> 200 202 <details class="auth-report"> -
src/views/partials/fedi-node.ejs
r2d66d66 r33e1dbd 31 31 <details class="fedi-owner-reply"> 32 32 <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> 33 < form method="post" action="<%= _base %>/posts/<%= postSlug %>/fedi-reply" class="comment-reply-form">34 <input type="hidden" name="interaction_id" value="<%= n.id %>">35 <textarea name="text" rows="2" required placeholder="<%= t('fedi.reply_ph') %>"></textarea>36 <div class="comment-reply-form-actions">37 <button type="submit" class="btn"><%= t('fedi.send') %></button>38 </div>39 </form>33 <%- include('reply-editor', { 34 action: _base + '/posts/' + postSlug + '/fedi-reply', 35 hiddenFields: [{ name: 'interaction_id', value: n.id }], 36 placeholder: t('fedi.reply_ph'), 37 submitLabel: t('fedi.send'), 38 rows: 2, 39 }) %> 40 40 </details> 41 41 <%# Owner moderation: report to their instance + remove (tombstoned: never comes back via re-delivery or thread-crawl). %>
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)