Add 1GB storage cap with staff bypass (#2729)
Re-applies the storage limit from #2713 (reverted in #2715) with an exception for staff identities so our own account isn't blocked.
This commit is contained in:
@@ -543,4 +543,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-perma__account-limit-message {
|
||||
background-color: var(--color-canvas);
|
||||
border: 2px solid var(--color-container);
|
||||
border-radius: 4px;
|
||||
margin-block-start: calc(var(--padding-block) / -2);
|
||||
padding: 1ch 2ch;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,4 +220,12 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.comment-by-system--account-limit {
|
||||
--stripe-color: oklch(var(--lch-blue-lightest));
|
||||
|
||||
.comment__content {
|
||||
padding: 3ch;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<%= messages_tag(card) do %>
|
||||
<% if card.published? %>
|
||||
<%= render partial: "cards/comments/comment", collection: card.comments.preloaded.chronologically, cached: true %>
|
||||
<%= render "cards/comments/new", card: card %>
|
||||
<% 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 %>
|
||||
|
||||
@@ -13,5 +13,7 @@
|
||||
<span>Create and add another</span>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= render "cards/container/footer/saas/storage_limit_notice" if Fizzy.saas? %>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -26,5 +26,9 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "cards/container/footer/create", card: card %>
|
||||
<% if Fizzy.saas? %>
|
||||
<%= render "cards/container/footer/saas/create", card: card %>
|
||||
<% else %>
|
||||
<%= render "cards/container/footer/create", card: card %>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user