Merged wrong change
This commit is contained in:
@@ -33,17 +33,22 @@
|
||||
</nav>
|
||||
<% end %>
|
||||
|
||||
<section class="cards gap position-relative" style="view-transition-name: cards-container;" data-controller="bubble-size" data-action="turbo:morph@window->bubble-size#resize">
|
||||
<% if @bubbles.any? %>
|
||||
<%= render "display_count_selector", display_count: @display_count, filter: @filter %>
|
||||
<%= render partial: "bubbles/card", collection: @bubbles.limit(@display_count), as: :bubble, cached: true %>
|
||||
<% else %>
|
||||
<p class="txt-medium"><strong>Nothing here.</strong></p>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
<section class="bubbles-list margin-block-start">
|
||||
<ul class="unpad margin-none flex flex-column txt-align-start">
|
||||
<%= render partial: "bubbles/list/bubble", collection: @bubbles.offset(@display_count), as: :bubble, cached: true %>
|
||||
</ul>
|
||||
</section>
|
||||
<div class="cards--columns">
|
||||
<section class="cards position-relative" style="align-items: center; border-inline-end: 1px solid var(--color-subtle);">
|
||||
<h2 class="txt-align-center flex-inline center txt-uppercase txt-medium margin-none-block-start margin-block-end">
|
||||
Considering
|
||||
</h2>
|
||||
<%= render partial: "bubbles/card_mini", collection: @bubbles.where(stage: [@filter.buckets.first&.workflow&.stages&.first, nil]), as: :bubble, cached: true %>
|
||||
</section>
|
||||
<section class="cards gap position-relative" style="align-items: center; view-transition-name: cards-container;" data-controller="bubble-size" data-action="turbo:morph@window->bubble-size#resize">
|
||||
<h2 class="txt-align-center flex-inline center txt-uppercase txt-medium margin-none-block-start margin-block-end">
|
||||
Doing
|
||||
</h2>
|
||||
<% if @bubbles.any? %>
|
||||
<%#= render "display_count_selector", display_count: @display_count, filter: @filter %>
|
||||
<%= render partial: "bubbles/card", collection: @bubbles.where.not(stage: @filter.buckets.first&.workflow&.stages&.first), as: :bubble, cached: true %>
|
||||
<% else %>
|
||||
<p class="txt-medium"><strong>Nothing here.</strong></p>
|
||||
<% end %>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user