Merge pull request #2176 from bluewave-labs/Addition-Of-Bulk-Import-In-Fallback
Addition of fallback in the main page.
This commit is contained in:
2 files changed
+13
-1
No files matched your search
@@ -118,6 +118,17 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false, show
|
|||||||
>
|
>
|
||||||
Let's create your first {title}
|
Let's create your first {title}
|
||||||
</Button>
|
</Button>
|
||||||
|
{/* Bulk create of uptime monitors */}
|
||||||
|
{title === "uptime monitor" && (
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
color="accent"
|
||||||
|
sx={{ alignSelf: "center" }}
|
||||||
|
onClick={() => navigate("/uptime/bulk-import")}
|
||||||
|
>
|
||||||
|
{t("bulkImport.fallbackPage")}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* Warning box for PageSpeed monitor */}
|
{/* Warning box for PageSpeed monitor */}
|
||||||
{(title === "pagespeed monitor" && showPageSpeedWarning) && (
|
{(title === "pagespeed monitor" && showPageSpeedWarning) && (
|
||||||
|
|||||||
@@ -408,6 +408,7 @@
|
|||||||
"parsingFailed": "Parsing failed",
|
"parsingFailed": "Parsing failed",
|
||||||
"uploadSuccess": "Monitors created successfully!",
|
"uploadSuccess": "Monitors created successfully!",
|
||||||
"validationFailed": "Validation failed",
|
"validationFailed": "Validation failed",
|
||||||
"noFileSelected": "No file selected"
|
"noFileSelected": "No file selected",
|
||||||
|
"fallbackPage": "Import a file to upload a list of servers in bulk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user