diff --git a/webapp/public/locales/en/main.json b/webapp/public/locales/en/main.json index 98abe54461..250a75f2e6 100644 --- a/webapp/public/locales/en/main.json +++ b/webapp/public/locales/en/main.json @@ -253,7 +253,8 @@ "study.links": "Links", "study.diskUsage": "Disk usage", "study.district": "District", - "study.bindingconstraints": "Binding Constraints", + "study.bindingConstraints": "Binding Constraints", + "study.bindingConstraints.empty": "No Binding Constraints", "study.debug": "Debug", "study.debug.file.unsupported": "Unsupported file type", "study.debug.file.deleteConfirm.title": "Delete File?", @@ -295,6 +296,7 @@ "study.outputFilters": "Output print status", "study.outputFilters.filterByYear": "Output year by year", "study.outputFilters.filterSynthesis": "Synthesis outputs", + "study.modelization.links.empty": "No links available", "study.modelization.links.hurdleCost": "Hurdle costs", "study.modelization.links.loopFlows": "Loop flows", "study.modelization.links.pst": "PST", @@ -566,6 +568,7 @@ "study.modelization.bindingConst.offset": "Offset", "study.modelization.bindingConst.question.deleteConstraintTerm": "Are you sure you want to delete this constraint term?", "study.modelization.bindingConst.question.deleteBindingConstraint": "Are you sure you want to delete this binding constraint?", + "study.tableMode.empty": "No table available", "study.tableMode": "Table Mode", "study.tableMode.dialog.add.title": "Add table", "study.tableMode.dialog.edit.title": "Edit table", @@ -703,6 +706,7 @@ "variants.commands.exportMatrices": "Export matrices", "variants.commands.question.deleteAll": "Are you sure you want to delete all commands?", "variants.commands.question.delete": "Are you sure you want to delete this command?", + "xpansion.candidates.empty": "No Xpansion candidates", "xpansion.timeSeries": "Time-Series", "xpansion.link": "Link", "xpansion.annualCost": "Annual cost per MW", diff --git a/webapp/public/locales/fr/main.json b/webapp/public/locales/fr/main.json index 8e64c877be..98d6ee71b9 100644 --- a/webapp/public/locales/fr/main.json +++ b/webapp/public/locales/fr/main.json @@ -253,7 +253,8 @@ "study.links": "Liens", "study.diskUsage": "Espace disque", "study.district": "District", - "study.bindingconstraints": "Contraintes Couplantes", + "study.bindingConstraints": "Contraintes Couplantes", + "study.bindingConstraints.empty": "Aucune Contraintes Couplantes", "study.debug": "Debug", "study.debug.folder.empty": "Le dossier est vide", "study.debug.file.unsupported": "Type de fichier non supporté", @@ -295,6 +296,7 @@ "study.outputFilters": "Affichage des sorties", "study.outputFilters.filterByYear": "Sorties année par année", "study.outputFilters.filterSynthesis": "Sorties de la synthèse", + "study.modelization.links.empty": "Aucun lien disponible", "study.modelization.links.hurdleCost": "Hurdle costs", "study.modelization.links.loopFlows": "Loop flows", "study.modelization.links.pst": "PST", @@ -566,6 +568,7 @@ "study.modelization.bindingConst.offset": "Décalage", "study.modelization.bindingConst.question.deleteConstraintTerm": "Êtes-vous sûr de vouloir supprimer ce terme ?", "study.modelization.bindingConst.question.deleteBindingConstraint": "Êtes-vous sûr de vouloir supprimer cette contrainte couplante ?", + "study.tableMode.empty": "Aucun tableau disponible", "study.tableMode": "Table Mode", "study.tableMode.dialog.add.title": "Ajouter une table", "study.tableMode.dialog.edit.title": "Modifier une table", @@ -703,6 +706,7 @@ "variants.commands.exportMatrices": "Exporter les matrices", "variants.commands.question.deleteAll": "Êtes-vous sûr de vouloir supprimer toutes les commandes ?", "variants.commands.question.delete": "Êtes-vous sûr de vouloir supprimer cette commande ?", + "xpansion.candidates.empty": "Aucun candidats Xpansion", "xpansion.timeSeries": "Séries temporelles", "xpansion.link": "Lien", "xpansion.annualCost": "Coût annuel par mw", diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/BindingConstraints/BindingConstView/index.tsx b/webapp/src/components/App/Singlestudy/explore/Modelization/BindingConstraints/BindingConstView/index.tsx index 5b33ac97d8..6360007bef 100644 --- a/webapp/src/components/App/Singlestudy/explore/Modelization/BindingConstraints/BindingConstView/index.tsx +++ b/webapp/src/components/App/Singlestudy/explore/Modelization/BindingConstraints/BindingConstView/index.tsx @@ -13,7 +13,7 @@ */ import { BindingConstraint } from "./utils"; -import { Box, Button, Paper, Skeleton } from "@mui/material"; +import { Box, Button, Skeleton } from "@mui/material"; import Form from "../../../../../../common/Form"; import UsePromiseCond, { mergeResponses, @@ -120,20 +120,11 @@ function BindingConstView({ constraintId }: Props) { //////////////////////////////////////////////////////////////// return ( - + <> ( - <> +