# HG changeset patch # User Sascha L. Teichmann # Date 1337173360 0 # Node ID d6e32ae72da67fb6ed6b40bebbbd4256658b3cbe # Parent d8444fcb4e449b50a95331838612f8ac364bcc23 Deliver description on events instead of names in fixing overview. flys-artifacts/trunk@4425 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r d8444fcb4e44 -r d6e32ae72da6 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed May 16 12:39:13 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed May 16 13:02:40 2012 +0000 @@ -1,3 +1,12 @@ +2012-05-15 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java: + Replaced event name by its description, which combines the + description of the fixing (= WST file description) and the name + of the column. + + * contrib/fixoverview2html.xsl: Adjusted. + 2012-05-16 Ingo Weinzierl * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to diff -r d8444fcb4e44 -r d6e32ae72da6 flys-artifacts/contrib/fixoverview2html.xsl --- a/flys-artifacts/contrib/fixoverview2html.xsl Wed May 16 12:39:13 2012 +0000 +++ b/flys-artifacts/contrib/fixoverview2html.xsl Wed May 16 13:02:40 2012 +0000 @@ -98,7 +98,7 @@ - + diff -r d8444fcb4e44 -r d6e32ae72da6 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java Wed May 16 12:39:13 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java Wed May 16 13:02:40 2012 +0000 @@ -419,6 +419,10 @@ return name; } + public String getDescription() { + return Fixing.this.description + "/" + name; + } + public List getSectors() { return sectors; } @@ -894,8 +898,8 @@ if (!sectors.isEmpty()) { Element eE = document.createElement("event"); - eE.setAttribute("name", - String.valueOf(column.getFixing().description)); + eE.setAttribute("description", + String.valueOf(column.getDescription())); eE.setAttribute("cid", String.valueOf(column.columnId)); eE.setAttribute("date", df.format(column.startTime));