From 5abf69f356df5f745409dfade5d2807df552b784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 10 Aug 2024 12:44:25 +0200 Subject: [PATCH] Add email service icon to dashboard --- app/views/dashboard/index.html.erb | 4 +++- public/img/logos/icon_mail.svg | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 public/img/logos/icon_mail.svg diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index f7d6c99..e53200b 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -30,7 +30,9 @@ <% end %> <% if Setting.email_enabled? && Flipper.enabled?(:email, current_user) %> -
+
<%= link_to services_email_path, class: "block h-full px-6 py-6 rounded-md" do %>

E-Mail

diff --git a/public/img/logos/icon_mail.svg b/public/img/logos/icon_mail.svg new file mode 100644 index 0000000..09e0aa0 --- /dev/null +++ b/public/img/logos/icon_mail.svg @@ -0,0 +1,11 @@ + + + + + + +