From 06e326aeb99ab022d80a4550ccd461d0fc95c74e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 21 Jan 2013 14:40:03 +0100 Subject: o Showing a message if there where no participants. --- src/main/java/io/trygvis/esper/testing/Util.java | 2 +- src/main/resources/webapp/apps/frontPageApp/buildList.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/trygvis/esper/testing/Util.java b/src/main/java/io/trygvis/esper/testing/Util.java index 1bba36c..2970982 100755 --- a/src/main/java/io/trygvis/esper/testing/Util.java +++ b/src/main/java/io/trygvis/esper/testing/Util.java @@ -78,7 +78,7 @@ public class Util { // ----------------------------------------------------------------------- public static List ifEmpty(List inputs, String defaultValue) { - if (inputs.isEmpty()) { + if (!inputs.isEmpty()) { return inputs; } diff --git a/src/main/resources/webapp/apps/frontPageApp/buildList.html b/src/main/resources/webapp/apps/frontPageApp/buildList.html index d069736..7e795e4 100755 --- a/src/main/resources/webapp/apps/frontPageApp/buildList.html +++ b/src/main/resources/webapp/apps/frontPageApp/buildList.html @@ -32,9 +32,12 @@ {{{true: 'SUCCESS', false: 'FAILURE'}[build.build.success]}} - + +

+ No participants. +

-- cgit v1.2.3