From 904917f64895078f07adaac7118efe430e0e1233 Mon Sep 17 00:00:00 2001 From: Adrien Maston Date: Thu, 19 Feb 2026 16:36:32 +0100 Subject: [PATCH] Up-pin should be Unpin --- app/views/cards/pins/_pin_button.html.erb | 4 ++-- app/views/my/pins/_pin.html.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/cards/pins/_pin_button.html.erb b/app/views/cards/pins/_pin_button.html.erb index 4dd96d8e5..a36bca03a 100644 --- a/app/views/cards/pins/_pin_button.html.erb +++ b/app/views/cards/pins/_pin_button.html.erb @@ -1,8 +1,8 @@
<% if card.pinned_by? Current.user %> <%= button_to card_pin_path(card), method: :delete, class: "btn btn--reversed btn--circle-mobile", - data: { controller: "tooltip hotkey", action: "keydown.shift+p@document->hotkey#click", bridge__overflow_menu_target: "item", bridge_title: "Un-pin this card" } do %> - <%= icon_tag "pinned" %> Un-pin this card (shift+p) + data: { controller: "tooltip hotkey", action: "keydown.shift+p@document->hotkey#click", bridge__overflow_menu_target: "item", bridge_title: "Unpin this card" } do %> + <%= icon_tag "pinned" %> Unpin this card (shift+p) <% end %> <% else %> <%= button_to card_pin_path(card), class: "btn btn--circle-mobile", diff --git a/app/views/my/pins/_pin.html.erb b/app/views/my/pins/_pin.html.erb index 69d6f8a40..00a831ebf 100644 --- a/app/views/my/pins/_pin.html.erb +++ b/app/views/my/pins/_pin.html.erb @@ -1,6 +1,6 @@
<%= render "cards/display/preview", card: pin.card %> <%= button_to card_pin_path(pin.card), method: :delete, class: "tray__remove-pin-btn btn btn--circle borderless" do %> - <%= icon_tag "pinned" %> Un-pin this card + <%= icon_tag "pinned" %> Unpin this card <% end %>