mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
parent
4b02a74b4c
commit
9ba224b230
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@ import classNames from "classnames";
|
||||||
import { Component, FormEventHandler, linkEvent } from "inferno";
|
import { Component, FormEventHandler, linkEvent } from "inferno";
|
||||||
import { EditSite, LocalSiteRateLimit } from "lemmy-js-client";
|
import { EditSite, LocalSiteRateLimit } from "lemmy-js-client";
|
||||||
import { I18NextService } from "../../services";
|
import { I18NextService } from "../../services";
|
||||||
import { Spinner } from "../common/icon";
|
import { Icon, Spinner } from "../common/icon";
|
||||||
import Tabs from "../common/tabs";
|
import Tabs from "../common/tabs";
|
||||||
|
|
||||||
const rateLimitTypes = [
|
const rateLimitTypes = [
|
||||||
|
@ -144,6 +144,10 @@ export default class RateLimitsForm extends Component<
|
||||||
<h1 className="h4 mb-4">
|
<h1 className="h4 mb-4">
|
||||||
{I18NextService.i18n.t("rate_limit_header")}
|
{I18NextService.i18n.t("rate_limit_header")}
|
||||||
</h1>
|
</h1>
|
||||||
|
<div className="alert small alert-info" role="alert">
|
||||||
|
<Icon icon="info" classes="icon-inline me-2" />
|
||||||
|
{I18NextService.i18n.t("rate_limit_info")}
|
||||||
|
</div>
|
||||||
<Tabs
|
<Tabs
|
||||||
tabs={rateLimitTypes.map(rateLimitType => ({
|
tabs={rateLimitTypes.map(rateLimitType => ({
|
||||||
key: rateLimitType,
|
key: rateLimitType,
|
||||||
|
|
Loading…
Reference in a new issue