mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
Billing (#1269)
* Change env SELF_HOSTING_ENABLED to SELF_HOSTED * Initial Stripe implementation * Fix portal link * Use webhook signatures * Migrated to new Stripe gem conventions Also updated resource routing * Added faraday-multipart gem to resolve middleware notice * Merge fix * Merge fix * Temporary upgrade prompt for early access * Lint fix * i18n fixes * Remove catch-all rescue * Update .env.example
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<% if @accounts.empty? %>
|
||||
<% if !Current.family.subscribed? && !self_hosted? %>
|
||||
<%= render "shared/subscribe_prompt" %>
|
||||
<% elsif @accounts.empty? %>
|
||||
<%= render "shared/no_account_empty_state" %>
|
||||
<% else %>
|
||||
<section class="flex gap-4">
|
||||
|
||||
Reference in New Issue
Block a user