From 0b266393b523e618859f0ebf70b5ae6301e7b815 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 13 Dec 2024 03:11:23 +0200 Subject: [PATCH] client: recent changes list: make possible to use a distinct style for the title of deleted notes --- src/public/app/widgets/dialogs/recent_changes.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/dialogs/recent_changes.js b/src/public/app/widgets/dialogs/recent_changes.js index 9695c1773..3e4c3bf91 100644 --- a/src/public/app/widgets/dialogs/recent_changes.js +++ b/src/public/app/widgets/dialogs/recent_changes.js @@ -81,7 +81,12 @@ export default class RecentChangesDialog extends BasicWidget { let $noteLink; if (change.current_isDeleted) { - $noteLink = $("").text(change.current_title); + $noteLink = $(""); + + $noteLink.append($("") + .addClass("note-title") + .text(change.current_title) + ); if (change.canBeUndeleted) { const $undeleteLink = $(``)