Path: blob/master/src/packages/frontend/billing/project-quota-bounds-table.tsx
1503 views
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { Component, Rendered } from "../app-framework";6const { HelpEmailLink } = require("../customize");7import { PROJECT_UPGRADES } from "@cocalc/util/schema";8import { Panel } from "@cocalc/frontend/antd-bootstrap";9import { render_project_quota } from "./util";1011export class ProjectQuotaBoundsTable extends Component {12public render(): Rendered {13const max = PROJECT_UPGRADES.max_per_project;14return (15<Panel16header={17<span>18Maximum possible quotas <strong>per project</strong> (if you need19more, contact us at <HelpEmailLink />)20</span>21}22>23{PROJECT_UPGRADES.field_order24.filter((name) => max[name])25.map((name) => render_project_quota(name, max[name]))}26</Panel>27);28}29}303132