# HG changeset patch # User Bernhard Herzog # Date 1370360462 -7200 # Node ID 56e8bd0958a9f9c5062935c832904231f0170ead # Parent 165020640d7bd85ee9c0d2b4a336a1eefd5b0075 Generate SSO wiki links in RiverInfoPanel instead of plain Anchors. Part of flys/issue1265 diff -r 165020640d7b -r 56e8bd0958a9 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/RiverInfoPanel.java --- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/RiverInfoPanel.java Tue Jun 04 17:40:00 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/RiverInfoPanel.java Tue Jun 04 17:41:02 2013 +0200 @@ -16,6 +16,7 @@ import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Widget; +import com.google.gwt.user.client.ui.HTML; import org.dive4elements.river.client.client.FLYS; import org.dive4elements.river.client.client.FLYSConstants; @@ -97,8 +98,8 @@ String url = number != null ? MSG.gauge_river_url() + number : MSG.gauge_river_url(); - Anchor anchor = new Anchor(MSG.gauge_river_info_link(), url, "_blank"); - add(anchor); + add(new HTML(WikiLinks.linkHTML(this.flys, url, + MSG.gauge_river_info_link()))); } public static int getStaticHeight() {