From b5d76ba3a5e2e8f49086af3022e34a1d7022e7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Tilve=20=C3=81lvaro?= Date: Wed, 5 Oct 2011 12:06:17 +0200 Subject: [PATCH] Grouped visually the same entity sequences in cofiguration window FEA: ItEr75S04BugFixing --- .../web/common/ConfigurationController.java | 5 ++++ .../src/main/webapp/common/configuration.zul | 2 +- .../main/webapp/common/css/navalplan_zk.css | 26 +++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/navalplanner-webapp/src/main/java/org/navalplanner/web/common/ConfigurationController.java b/navalplanner-webapp/src/main/java/org/navalplanner/web/common/ConfigurationController.java index fc655cdc7..978bb7e4a 100644 --- a/navalplanner-webapp/src/main/java/org/navalplanner/web/common/ConfigurationController.java +++ b/navalplanner-webapp/src/main/java/org/navalplanner/web/common/ConfigurationController.java @@ -489,6 +489,11 @@ public class ConfigurationController extends GenericForwardComposer { row.setTooltiptext(_("The code sequence is already in use and it can not be updated.")); } + if ((row.getPreviousSibling() != null) + && !((EntitySequence) ((Row) row.getPreviousSibling()) + .getValue()).getEntityName().equals(entityName)) { + row.setClass("separator"); + } } } diff --git a/navalplanner-webapp/src/main/webapp/common/configuration.zul b/navalplanner-webapp/src/main/webapp/common/configuration.zul index 7fcbc7c84..89f9a6963 100644 --- a/navalplanner-webapp/src/main/webapp/common/configuration.zul +++ b/navalplanner-webapp/src/main/webapp/common/configuration.zul @@ -213,7 +213,7 @@