File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
resources/hudson/tasks/test/AbstractTestResultAction Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 66public class Widget {
77
88 private final String symbol ;
9- private final String symbolClass ;
109 private final List <String > lines = new ArrayList <>();
1110
1211 public Widget (TestResult result ) {
1312 int failCount = result .getFailCount ();
1413 boolean isFailed = failCount > 0 ;
1514 int totalCount = result .getTotalCount ();
1615
17- this .symbol = isFailed
18- ? "symbol-close-circle-outline plugin-ionicons-api"
19- : "symbol-checkmark-done-outline plugin-ionicons-api" ;
20- this .symbolClass = isFailed ? "jenkins-!-error-color" : "jenkins-!-success-color" ;
16+ this .symbol = isFailed ? "symbol-status-red" : "symbol-status-blue" ;
2117
2218 List <String > counts = new ArrayList <>();
2319
@@ -59,10 +55,6 @@ public String getSymbol() {
5955 return symbol ;
6056 }
6157
62- public String getSymbolClass () {
63- return symbolClass ;
64- }
65-
6658 public List <String > getLines () {
6759 return lines ;
6860 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ THE SOFTWARE.
2828 <j : set var =" widget" value =" ${it.widget}" />
2929
3030 <a class =" jenkins-card__teaser" href =" ${it.urlName}" tabindex =" -1" >
31- <l : icon src =" ${widget.symbol}" class = " ${widget.symbolClass} " />
31+ <l : icon src =" ${widget.symbol}" />
3232 <j : forEach var =" line" items =" ${widget.lines}" >
3333 <div >${line}</div >
3434 </j : forEach >
You can’t perform that action at this time.
0 commit comments