Oops, link to the user lists page for the not-in-a-list case

This commit is contained in:
Emi Matchu 2024-01-21 06:40:20 -08:00
parent 507b346c2c
commit 8e3d2b994f
2 changed files with 6 additions and 2 deletions

View file

@ -26,6 +26,8 @@
%li= link_to list.name, user_closet_hangers_path(trade.user, %li= link_to list.name, user_closet_hangers_path(trade.user,
anchor: "closet-list-#{list.id}") anchor: "closet-list-#{list.id}")
- else - else
%span.not-in-a-list= t(".table.not_in_a_list") = link_to t(".table.not_in_a_list.#{@type}"), user_closet_hangers_path(trade.user,
anchor: "closet-hangers-group-#{@type == :offering}"),
class: "not-in-a-list"
- else - else
%p= t(".no_trades_yet") %p= t(".no_trades_yet")

View file

@ -387,7 +387,9 @@ en:
lists: Lists lists: Lists
last_active: last_active:
this_week: This week this_week: This week
not_in_a_list: Not in a list not_in_a_list:
offering: Items they own
seeking: Items they want
no_trades_yet: no_trades_yet:
No trades yet! To add your name to this page, add this item to one of No trades yet! To add your name to this page, add this item to one of
your lists, and mark the list as "Trading". your lists, and mark the list as "Trading".