changeset 1609:8975e1dea436

Error report: Prefix error message for a certain km with 'KM'. flys-client/trunk@3975 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 08 Feb 2012 15:58:42 +0000
parents 3b5610f22433
children 8c1f90e380a3
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Feb 08 15:39:01 2012 +0000
+++ b/flys-client/ChangeLog	Wed Feb 08 15:58:42 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-08	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java:
+	  Prefix error message for a certain km with 'KM'.
+
 2012-02-08  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java	Wed Feb 08 15:39:01 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java	Wed Feb 08 15:58:42 2012 +0000
@@ -92,7 +92,7 @@
             String msg = element.getTextContent();
 
             if (km.length() > 0) {
-                kms.append("<li><strong>")
+                kms.append("<li><strong>KM ")
                    .append(StringEscapeUtils.escapeHtml(km))
                    .append("</strong>: ")
                    .append(StringEscapeUtils.escapeHtml(msg))

http://dive4elements.wald.intevation.org