From 527119b21b55768a2fb44f8082982e3b8785df18 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 21 Jul 2025 14:58:00 +0300 Subject: [PATCH] Use the same icon for diary comments as for changeset comments --- app/assets/images/diary/comment.svg | 3 --- app/views/diary_entries/_profile_diaries.html.erb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 app/assets/images/diary/comment.svg diff --git a/app/assets/images/diary/comment.svg b/app/assets/images/diary/comment.svg deleted file mode 100644 index 53c65fc49..000000000 --- a/app/assets/images/diary/comment.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/views/diary_entries/_profile_diaries.html.erb b/app/views/diary_entries/_profile_diaries.html.erb index 1ff89f860..bf30d5ccc 100644 --- a/app/views/diary_entries/_profile_diaries.html.erb +++ b/app/views/diary_entries/_profile_diaries.html.erb @@ -13,7 +13,7 @@
- <%= inline_svg_tag "diary/comment.svg", :title => t(".comments_label") %> + <%= inline_svg_tag entry.comments.empty? ? "icons/chat.svg" : "icons/chat-fill.svg", :size => "20px", :title => t(".comments_label") %> <%= link_to t(".comments", :count => entry.comments.size), diary_entry_path(@user, entry, :anchor => "comments"), :class => "text-body-secondary" %> -- 2.39.5