Skip to content

Commit b94d7a7

Browse files
committed
add link to legacy subscriptions to our upgrades page, so old users have some hope of being able to cancel
1 parent 41b1765 commit b94d7a7

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/packages/frontend/account/upgrades/upgrades-page.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ class UpgradesPage extends Component<reduxProps> {
4646
return (
4747
<div>
4848
<h3>Upgrades are no longer available</h3>
49-
Please visit <A href={join(appBasePath, "store")}>the new store</A> and
50-
the <A href="https://cocalc.com/pricing">pricing pages</A>.
49+
Please visit <A href={join(appBasePath, "store")}>
50+
the new store
51+
</A>, explore <A href={join(appBasePath, "pricing")}>our products</A>, or{" "}
52+
<A href={join(appBasePath, "billing/subscriptions")}>
53+
view your legacy upgrade subscriptions
54+
</A>
55+
.
5156
<Footer />
5257
</div>
5358
);
@@ -179,15 +184,17 @@ class UpgradesPage extends Component<reduxProps> {
179184
redux.getActions("projects").load_all_projects();
180185
return <Loading theme={"medium"} />;
181186
}
182-
if (!DEBUG && !this.props.stripe_customer?.getIn(["subscriptions", "total_count"])) {
187+
if (
188+
!DEBUG &&
189+
!this.props.stripe_customer?.getIn(["subscriptions", "total_count"])
190+
) {
183191
return this.render_no_upgrades();
184192
} else {
185193
return (
186194
<div>
187195
{this.render_have_upgrades()}
188196
{this.render_upgrades()}
189197
<ProjectUpgradesTable />
190-
<Footer />
191198
</div>
192199
);
193200
}

0 commit comments

Comments
 (0)