Phase 14, part 4: what happens when it lapses
An hourly platform job: a trial over without a subscription goes to Free; past due, the owner is told and every page has a banner; at 14 days read-only; at 53 days everyone is warned; at 60 days the team is deleted with 30 days to undo. Each email once. Undoing a deletion for not paying gives a week more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -128,6 +128,7 @@
|
||||
<main>
|
||||
{{with .Viewer}}{{if .Viewing}}<div class="card warn viewing" role="status"><p><strong>Viewing this team as the platform's admin</strong>, read-only, until {{.Session.ViewUntil.Local.Format "15:04"}}: {{.Session.ViewReason}}</p>
|
||||
<form method="post" action="/platform/stop-viewing"><button type="submit" class="secondary small">Stop viewing</button></form></div>{{end}}{{end}}
|
||||
{{with .Lapse}}<p class="card warn" role="status">{{.}} {{with $.Viewer}}{{if eq (print .Member.Role) "owner"}}<a href="/settings/billing">Pay now</a>{{end}}{{end}}</p>{{end}}
|
||||
{{if .Flash}}<p class="flash" role="status">{{.Flash}}</p>{{end}}
|
||||
{{if .Error}}<p class="error" role="alert">{{.Error}}</p>{{end}}
|
||||
{{template "content" .}}
|
||||
|
||||
Reference in New Issue
Block a user