From 7be8aabf38c465b504ee634e15ba54a108852ae3 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Wed, 29 Oct 2025 20:18:32 +0100 Subject: [PATCH] Replace date and comment icons --- app/assets/images/icons/calendar.svg | 3 --- app/assets/images/icons/chat-fill.svg | 3 --- app/assets/images/icons/chat.svg | 3 --- app/views/changesets/_changeset_line.html.erb | 2 +- app/views/diary_entries/_profile_diaries.html.erb | 6 ++++-- 5 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 app/assets/images/icons/calendar.svg delete mode 100644 app/assets/images/icons/chat-fill.svg delete mode 100644 app/assets/images/icons/chat.svg diff --git a/app/assets/images/icons/calendar.svg b/app/assets/images/icons/calendar.svg deleted file mode 100644 index fc9d25ec2..000000000 --- a/app/assets/images/icons/calendar.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/assets/images/icons/chat-fill.svg b/app/assets/images/icons/chat-fill.svg deleted file mode 100644 index 266c84487..000000000 --- a/app/assets/images/icons/chat-fill.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/assets/images/icons/chat.svg b/app/assets/images/icons/chat.svg deleted file mode 100644 index c6c04efc1..000000000 --- a/app/assets/images/icons/chat.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/views/changesets/_changeset_line.html.erb b/app/views/changesets/_changeset_line.html.erb index 1f03a0aa0..a4638d4f5 100644 --- a/app/views/changesets/_changeset_line.html.erb +++ b/app/views/changesets/_changeset_line.html.erb @@ -38,7 +38,7 @@ <%= tag.span :class => ["changeset_num_comments d-flex align-items-baseline gap-1 justify-content-end", { "opacity-50" => num_comments.zero? }], :title => t(".comments", :count => num_comments) do %> <%= num_comments %> - <%= inline_svg_tag num_comments.zero? ? "icons/chat.svg" : "icons/chat-fill.svg", :size => "12px" %> + small" aria-hidden="true"> <% end %> <% end %> diff --git a/app/views/diary_entries/_profile_diaries.html.erb b/app/views/diary_entries/_profile_diaries.html.erb index a67fa0d6a..6e9651458 100644 --- a/app/views/diary_entries/_profile_diaries.html.erb +++ b/app/views/diary_entries/_profile_diaries.html.erb @@ -13,11 +13,13 @@
- <%= inline_svg_tag entry.comments.empty? ? "icons/chat.svg" : "icons/chat-fill.svg", :size => "20px", :title => t(".comments_label") %> + + <%= t ".comments_label" %> <%= link_to t(".comments", :count => entry.comments.size), diary_entry_path(@user, entry, :anchor => "comments"), :class => "text-body-secondary" %> - <%= inline_svg_tag "icons/calendar.svg", :size => "20px", :title => t(".date_label") %> + + <%= t ".date_label" %> <%= l(entry.created_at.to_date, :format => :long) %>
-- 2.39.5