161925ab2b
* main: (100 commits) Fix notification broadcast test for turbo-rails 2.0.21 Update `turbo-rails` to get latest Turbo version Remove reference to removed controller Fix bad formatting on bridge page title attr Use private functions for bridge components Setup focus handling on touch target's connect callback Setup proper focus handling for mobile on the card perma's board picker Move dialog focus handling into the dialog controller Create popup initial alignment classes Fix class typo Hide the board selector button if card is closed Align board and tag picker dialogs without using math Add dialog manager to card perma Fix "M" hotkey using stale user from fragment cache Solve problem when Action Text raises on missing attachables Solve problem when Action Text raises on missing attachables Completing a step removes stalled status from UI Bump Bootsnap to v1.21.1 Add Enable all/Disable all buttons to webhook event selection Use correct class selectors to target cards with background images ...
14 lines
826 B
Plaintext
14 lines
826 B
Plaintext
<% if card.golden? %>
|
|
<%= button_to card_goldness_path(card), method: :delete, class: "btn btn--reversed btn--circle-mobile",
|
|
data: { controller: "tooltip hotkey", action: "keydown.shift+g@document->hotkey#click", bridge__overflow_menu_target: "item", bridge_title: "Demote to normal" } do %>
|
|
<%= icon_tag "golden-ticket" %>
|
|
<span class="for-screen-reader">Demote to normal (shift+g)</span>
|
|
<% end %>
|
|
<% else %>
|
|
<%= button_to card_goldness_path(card), class: "btn btn--circle-mobile",
|
|
data: { controller: "tooltip hotkey", action: "keydown.shift+g@document->hotkey#click", bridge__overflow_menu_target: "item", bridge_title: "Promote to Golden Ticket" } do %>
|
|
<%= icon_tag "golden-ticket" %>
|
|
<span class="for-screen-reader">Promote to Golden Ticket (shift+g)</span>
|
|
<% end %>
|
|
<% end %>
|