902a99ca56
* main: (25 commits) Add controller to retarget links Use more complete regexp dep: bundle update refactor: Extract a Card::Entropy concern Autolink emails and URLs at rendering time Remove the "mirror" storage service Update production storage to write to the Pure blob store Clean up the purestorage config, and add explanatory comments. Drop the action_text_markdowns table Mount mission control under `/admin/jobs` dep: add mission_control-jobs Flip the storage mirror to write to Pure as the primary Production mirrors Active Storage to `:purestorage` Make sure Sentry is configured for the beta env. Update lexical update lexical update lexical Create a distinct "beta" environment Revert "Patch for cards missing description" Add a kamal "ssh" alias ...
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
<% cache card do %>
|
|
<%= card_article_tag card, class: "card" do %>
|
|
<div class="flex gap">
|
|
<div class="flex flex-column flex-item-grow">
|
|
<header class="card__header">
|
|
<%= render "cards/display/preview/collection", card: card %>
|
|
<%= render "cards/display/preview/tags", card: card %>
|
|
</header>
|
|
|
|
<div class="card__body justify-space-between">
|
|
<div class="card__content">
|
|
<h1 class="card__title overflow-line-clamp">
|
|
<%= card.title %>
|
|
</h1>
|
|
|
|
<%= link_to collection_card_path(card.collection, card), class: "card__link", title: card_title_tag(card), data: { action: "dialog#close", turbo_frame: "_top" } do %>
|
|
<span class="for-screen-reader"><%= card.title %></span>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "cards/stagings/stages", card: card if card.doing? %>
|
|
</div>
|
|
|
|
<footer class="card__footer">
|
|
<%= render "cards/display/preview/meta", card: card %>
|
|
</footer>
|
|
|
|
<%= render "cards/display/common/background", card: card %>
|
|
|
|
<% if card.subject_to_entropy? %>
|
|
<%= render "cards/display/preview/bubble", card: card %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|