From 0ab725a8ce7da40b0429b58f000d7874a91efcca Mon Sep 17 00:00:00 2001 From: hatz Date: Thu, 8 May 2025 13:49:07 -0500 Subject: [PATCH] Add rules to settings sidebar, use locale text --- app/views/settings/_settings_nav.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/settings/_settings_nav.html.erb b/app/views/settings/_settings_nav.html.erb index 621c0882..ca18e386 100644 --- a/app/views/settings/_settings_nav.html.erb +++ b/app/views/settings/_settings_nav.html.erb @@ -65,7 +65,8 @@ <%= render "settings/settings_nav_item", name: t(".categories_label"), path: categories_path, icon: "shapes" %>
  • - <%= render "settings/settings_nav_item", name: "Rules", path: rules_path, icon: "git-branch" %> + <%= render "settings/settings_nav_item", name: t(".rules_label"), path: rules_path, icon: "git-branch" %> +
  • <%= render "settings/settings_nav_item", name: t(".merchants_label"), path: family_merchants_path, icon: "store" %> @@ -143,6 +144,10 @@ <%= render "settings/settings_nav_item", name: t(".categories_label"), path: categories_path, icon: "shapes" %>
  • + <%= render "settings/settings_nav_item", name: t(".rules_label"), path: rules_path, icon: "git-branch" %> +
  • +
  • + <%= render "settings/settings_nav_item", name: t(".merchants_label"), path: family_merchants_path, icon: "store" %>