diff --git a/app/views/holdings/index.html.erb b/app/views/holdings/index.html.erb index d200e54f9..704284468 100644 --- a/app/views/holdings/index.html.erb +++ b/app/views/holdings/index.html.erb @@ -5,7 +5,7 @@ <%= link_to new_trade_path(account_id: @account.id), id: dom_id(@account, "new_trade"), data: { turbo_frame: :modal }, - class: "flex gap-1 font-medium items-center bg-gray-50 text-primary p-2 rounded-lg" do %> + class: "flex gap-1 font-medium items-center bg-gray-50 theme-dark:bg-gray-700 hover:bg-gray-100 theme-dark:hover:bg-gray-600 text-primary p-2 rounded-lg" do %> <%= icon("plus", color: "current") %> diff --git a/app/views/holdings/show.html.erb b/app/views/holdings/show.html.erb index 5088ef100..d53e5c52b 100644 --- a/app/views/holdings/show.html.erb +++ b/app/views/holdings/show.html.erb @@ -61,7 +61,7 @@

<%= l(trade_entry.date, format: :long) %>

-

<%= t( +

<%= t( ".trade_history_entry", qty: trade_entry.trade.qty, security: trade_entry.trade.security.ticker,