- Timestamp:
- 07/25/2026 08:09:19 AM (7 weeks ago)
- Branches:
- main
- Children:
- c66cbb4
- Parents:
- e62f65d
- Location:
- src/views
- Files:
-
- 2 edited
-
pages/messages.ejs (modified) (1 diff)
-
partials/msg-item.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/messages.ejs
re62f65d rad6f62a 2 2 <%- include('../partials/fedi-tabs', { active: 'berichten' }) %> 3 3 <h1 class="msg-title"><%= t('msg.title') %></h1> 4 <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success === 'guardian_accepted' ? t('msg.guard_accepted') : (success === 'guardian_rejected' ? t('msg.guard_rejected') : success) %></div><% } %>4 <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success === 'guardian_accepted' ? t('msg.guard_accepted') : (success === 'guardian_rejected' ? t('msg.guard_rejected') : (success === 'wave_sent' ? t('msg.wave_sent') : success)) %></div><% } %> 5 5 <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error === 'guardianship' ? t('msg.guard_failed') : error %></div><% } %> 6 6 -
src/views/partials/msg-item.ejs
re62f65d rad6f62a 55 55 <% } else if (_t === 'boost') { %><%= t('notif.boosted') %> 56 56 <% } else if (_t === 'report') { %><%= t('notif.reported') %> 57 <% } else if (_t === 'mention' && n.wave) { %>👋 <%= t('msg.waved_at_you') %> 57 58 <% } else if (_t === 'mention') { %><%= t('notif.mentioned') %> 58 59 <% } else if (_t === 'sent') { %><%= t('msg.sent_reply') %> … … 67 68 <% if (_t === 'report' && n.content) { %><div class="msg-content"><%= n.content %></div> 68 69 <% } else if ((_t === 'reply' || _t === 'mention' || _t === 'sent') && n.content) { %><div class="msg-content"><%- n.content %></div> 70 <% if (_t === 'mention' && n.wave && n.actorUri && canMutate) { %> 71 <form class="msg-quickreply" method="post" action="<%= (typeof siteUrlBase !== 'undefined' ? siteUrlBase : '') %>/messages/quick-reply" style="display:flex;gap:6px;flex-wrap:wrap;margin-top:6px"> 72 <input type="hidden" name="to" value="<%= n.actorUri %>"> 73 <button class="btn small" name="text" value="<%= t('msg.wave_r1') %>"><%= t('msg.wave_r1') %></button> 74 <button class="btn small" name="text" value="<%= t('msg.wave_r2') %>"><%= t('msg.wave_r2') %></button> 75 <button class="btn small" name="text" value="👋"><%= t('msg.wave_back') %></button> 76 </form> 77 <% } %> 69 78 <% } else if (_t === 'poll_done' && n.poll) { %> 70 79 <div class="msg-poll" role="group">
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)