diff --git a/webui/src/components/home.jsx b/webui/src/components/home.jsx index 0f6e3d319..0763946de 100644 --- a/webui/src/components/home.jsx +++ b/webui/src/components/home.jsx @@ -10,15 +10,30 @@ export const HomeRoute = React.createClass({ const latestRecords = serverCache.getLatestRecords(); const user = serverCache.getUser(); const info = serverCache.getInfo(); + const site_function = info.get('site_function'); const b2access = info.get('b2access_registration_link'); const training_site = info.get('training_site_link'); + const divStyle = { + color: 'red', + }; return (
+ { (site_function == "" || site_function == "production") ? +

Store and publish your research data

Search in public datasets or register as a user to upload and publish your data!

+
+ : +
+

Attention: This is not a production instance!

+

Please refrain from storing or publishing your real research data here.

+

You may use the service the for testing B2SHARE service, but note that any data or metadata on this instance may be deleted at any time!

+

Use a production service provided by your institution or EUDAT for real research data.

+
+ } { training_site ?

Please use {training_site} for testing or training.

: false }