cf10dbd91e
Re-applies the storage limit from #2713 (reverted in #2715) with an exception for staff identities so our own account isn't blocked.
20 lines
762 B
Plaintext
20 lines
762 B
Plaintext
<%= messages_tag(card) do %>
|
|
<% if card.published? %>
|
|
<%= render partial: "cards/comments/comment", collection: card.comments.preloaded.chronologically, cached: true %>
|
|
<% if Fizzy.saas? %>
|
|
<%= render "cards/comments/saas/new", card: card %>
|
|
<% else %>
|
|
<%= render "cards/comments/new", card: card %>
|
|
<% end %>
|
|
|
|
<%= render "cards/comments/watchers", card: card %>
|
|
<% end %>
|
|
|
|
<% if Current.user.can_administer_card?(card) %>
|
|
<footer class="delete-card txt-align-center full-width flex flex-column margin-block-start-double">
|
|
<hr class="separator--horizontal full-width margin-block" style="--border-color: var(--color-ink-lighter)">
|
|
<%= render "cards/delete", card: card %>
|
|
</footer>
|
|
<% end %>
|
|
<% end %>
|