From 4a8398e3180454073d2dd94a3bd2a5770752ca28 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 11 Apr 2025 11:11:16 -0500 Subject: [PATCH] Remove unused partials --- app/views/cards/display/_mini.html.erb | 23 ---------------- app/views/my/pins/_pin.html.erb | 36 -------------------------- 2 files changed, 59 deletions(-) delete mode 100644 app/views/cards/display/_mini.html.erb delete mode 100644 app/views/my/pins/_pin.html.erb diff --git a/app/views/cards/display/_mini.html.erb b/app/views/cards/display/_mini.html.erb deleted file mode 100644 index 2dd1ff438..000000000 --- a/app/views/cards/display/_mini.html.erb +++ /dev/null @@ -1,23 +0,0 @@ -
-
- - <%= card.collection.name %> - - -
<%= render "cards/display/mini/tags", card: card %>
-
- -
-
-

- <%= card_title(card) %> -

-
- - <%= render "cards/display/mini/meta", card: card %> -
- - <%= link_to collection_card_path(card.collection, card), class: "card__link" do %> - <%= card_title(card) %> - <% end %> -
diff --git a/app/views/my/pins/_pin.html.erb b/app/views/my/pins/_pin.html.erb deleted file mode 100644 index 2a3e35689..000000000 --- a/app/views/my/pins/_pin.html.erb +++ /dev/null @@ -1,36 +0,0 @@ -<% cache pin do %> - <%= tag.div id: dom_id(pin), class: "pin tray__item txt-normal" do %> - <%= link_to collection_card_path(pin.card.collection, pin.card), - class: "pin__content shadow fill-white flex align-start txt-align-start gap flex-item-grow max-width border border-radius txt-ink overflow-clip", - data: { action: "click->dialog#close", turbo_frame: "_top" }, - style: "--card-color: #{ pin.card.color };" do %> -
-
-
- <%= pin.card.collection.name %> -
- - <% if pin.card&.stage %> - - <%= pin.card&.stage&.name %> - - <% end %> -
- - <%= card_title(pin.card) %> - -
-
- Updated <%= local_datetime_tag(pin.card.updated_at, style: :ago) -%> -
- - <%= " ยท " if pin.card.tags.any? %> -
- <%= "#" if pin.card.tags.any? %> - <%= pin.card.tags.map(&:title).join(", ") %> -
-
-
- <% end %> - <% end %> -<% end %>