Changeset 9a00f28 in Klonkt for src/views/pages/fedi-notifications.ejs
- Timestamp:
- 07/22/2026 08:18:39 AM (7 weeks ago)
- Branches:
- main
- Children:
- 6b5d7da
- Parents:
- 96c714f
- git-author:
- Robin <roboburr@…> (07/22/2026 08:18:19 AM)
- git-committer:
- Robin <roboburr@…> (07/22/2026 08:18:39 AM)
- File:
-
- 1 edited
-
src/views/pages/fedi-notifications.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/fedi-notifications.ejs
r96c714f r9a00f28 34 34 <% if (n.type === 'mention' && n.note_url) { %><a class="nt-post" href="<%= n.note_url %>" target="_blank" rel="nofollow noopener"><%= t('tl.view_original') %></a><% } %> 35 35 </div> 36 <% if (n.type === 'report' && n.content) { %><div class="nt-content"><%= n.content %></div> 36 <% if (n.type === 'report') { %> 37 <% if (n.content) { %><div class="nt-content"><%= n.content %></div><% } else { %><div class="nt-content nt-noreason"><%= t('notif.report_noreason') %></div><% } %> 38 <% if (n.objects && n.objects.length) { %> 39 <div class="nt-report-about"> 40 <% n.objects.forEach(function (o) { %> 41 <a class="nt-post" href="/<%= o.slug %>"><%= t('notif.report_about') %>: <%= o.title %></a> 42 <% }); %> 43 </div> 44 <% } %> 37 45 <% } else if ((n.type === 'reply' || n.type === 'mention') && n.content) { %><div class="nt-content"><%- n.content %></div><% } %> 38 46 </div> … … 58 66 display: inline-flex; align-items: center; justify-content: center; } 59 67 .nt-icon svg { width: 18px; height: 18px; } 68 .nt-report-about { margin-top: .35rem; display: flex; flex-direction: column; gap: .15rem; } 69 .nt-noreason { font-style: italic; opacity: .7; } 60 70 .nt-like .nt-icon { background: color-mix(in srgb, #e8b04b 16%, transparent); color: #e8b04b; } 61 71 .nt-boost .nt-icon { background: color-mix(in srgb, #2fa85a 16%, transparent); color: #2fa85a; }
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)