From 042606369344cca2361f7176659f40afbf7b763f Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 21 Jul 2025 15:13:09 +0300 Subject: [PATCH] Replace diary date icon with Bootstrap "calendar" https://icons.getbootstrap.com/icons/calendar/ This icon matches the comment icon better. --- app/assets/images/diary/date.svg | 4 ---- app/assets/images/icons/calendar.svg | 3 +++ app/views/diary_entries/_profile_diaries.html.erb | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 app/assets/images/diary/date.svg create mode 100644 app/assets/images/icons/calendar.svg diff --git a/app/assets/images/diary/date.svg b/app/assets/images/diary/date.svg deleted file mode 100644 index dc9d5d0f6..000000000 --- a/app/assets/images/diary/date.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/assets/images/icons/calendar.svg b/app/assets/images/icons/calendar.svg new file mode 100644 index 000000000..fc9d25ec2 --- /dev/null +++ b/app/assets/images/icons/calendar.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/views/diary_entries/_profile_diaries.html.erb b/app/views/diary_entries/_profile_diaries.html.erb index bf30d5ccc..d2b185d76 100644 --- a/app/views/diary_entries/_profile_diaries.html.erb +++ b/app/views/diary_entries/_profile_diaries.html.erb @@ -17,7 +17,7 @@ <%= link_to t(".comments", :count => entry.comments.size), diary_entry_path(@user, entry, :anchor => "comments"), :class => "text-body-secondary" %> - <%= inline_svg_tag "diary/date.svg", :title => t(".date_label") %> + <%= inline_svg_tag "icons/calendar.svg", :size => "20px", :title => t(".date_label") %> <%= l(entry.created_at.to_date, :format => :long) %> -- 2.39.5