Skip to content

Commit bf5f24c

Browse files
committed
fix #8413 -- banner for 1-hour old project claims "trial period has ended"
- just deleted that text since it isn't correct or needed.
1 parent 0b60d7e commit bf5f24c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/packages/frontend/project/trial-banner.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const TrialBanner: React.FC<BannerProps> = React.memo(
177177
if (allow_run === false) {
178178
return (
179179
<span>
180-
There are too many free trial projects running right now.
180+
There are too many free projects running right now.
181181
<br />
182182
Try again later or {renderBuyAndUpgrade()}.
183183
</span>
@@ -194,7 +194,7 @@ export const TrialBanner: React.FC<BannerProps> = React.memo(
194194
);
195195
return (
196196
<span>
197-
{intro} The trial period of this project ended.{" "}
197+
{intro}{" "}
198198
{renderBuyAndUpgrade("Buy a license")}.
199199
</span>
200200
);
@@ -225,7 +225,7 @@ export const TrialBanner: React.FC<BannerProps> = React.memo(
225225
<span style={{ fontSize: style.fontSize }}>
226226
<Icon name="info-circle" />{" "}
227227
<A href={DOC_TRIAL} style={a_style_more}>
228-
Trial projects
228+
Free projects
229229
</A>
230230
{"..."}
231231
</span>
@@ -455,7 +455,7 @@ function CountdownProject({ fontSize }: CountdownProjectProps) {
455455
onCancel={() => setShowInfo(false)}
456456
>
457457
<Paragraph>
458-
<A href={"https://doc.cocalc.com/trial.html"}>Trial projects</A> have
458+
<A href={"https://doc.cocalc.com/trial.html"}>Free projects</A> have
459459
a maximum uptime of {limit_min} minutes. After that period, the
460460
project will stop and interrupt your work.
461461
</Paragraph>

src/packages/frontend/projects/project-list-desc.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const ProjectsListingDescription: React.FC<Props> = ({
9292
);
9393
}
9494

95-
function render_projects_actions_toolbar(): React.JSX.Element {
95+
function render_projects_actions_toolbar() {
9696
if (visible_projects.length == 0) {
9797
return null;
9898
}
@@ -196,8 +196,6 @@ export const ProjectsListingDescription: React.FC<Props> = ({
196196
);
197197
}
198198

199-
function renderRemoveMyself() {}
200-
201199
function render_hide_all(): React.JSX.Element | undefined {
202200
if (visible_projects.length === 0) {
203201
return;

0 commit comments

Comments
 (0)