From b8198d17b7139c99d7f65d396f527688f3ae8779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20K=C4=B1l=C4=B1=C3=A7?= Date: Tue, 6 Feb 2024 22:50:11 +0300 Subject: [PATCH] Fix accounts title and i18n variable name (#333) --- app/views/layouts/application.html.erb | 6 ++++-- config/locales/views/layout/en.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 80628e29..fd46221a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -56,8 +56,10 @@
- <%= t('.accounts') %> - <%= link_to new_account_path, class: 'block hover:bg-gray-100 p-2 text-sm font-semibold text-gray-900 flex items-center rounded', title: t('.new_accoount') do %> + <%= link_to accounts_path, class: 'text-xs' do%> + <%= t('.accounts') %> + <% end %> + <%= link_to new_account_path, class: 'block hover:bg-gray-100 p-2 text-sm font-semibold text-gray-900 flex items-center rounded', title: t('.new_account') do %> <%= inline_svg_tag('icon-add.svg', class: 'text-gray-500 fill-current') %> <% end %>
diff --git a/config/locales/views/layout/en.yml b/config/locales/views/layout/en.yml index 85310a0f..780891a5 100644 --- a/config/locales/views/layout/en.yml +++ b/config/locales/views/layout/en.yml @@ -5,7 +5,7 @@ en: accounts: Accounts cash: Cash dashboard: Dashboard - new_accoount: New Account + new_account: New Account auth: or: or privacy_policy: Privacy Policy