Skip to content

Commit

Permalink
Use ionicons in test result overview (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Oct 1, 2022
1 parent 8d9ae33 commit 909f4d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.332.1</jenkins.version>
<jenkins.version>2.346.1</jenkins.version>
<no-test-jar>false</no-test-jar>
</properties>
<licenses>
Expand Down Expand Up @@ -48,6 +48,11 @@
<artifactId>echarts-api</artifactId>
<version>5.3.2-3</version>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>ionicons-api</artifactId>
<version>28.va_f3a_84439e5f</version>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>checks-api</artifactId>
Expand Down Expand Up @@ -196,7 +201,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.332.x</artifactId>
<artifactId>bom-2.346.x</artifactId>
<version>1607.va_c1576527071</version>
<scope>import</scope>
<type>pom</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ THE SOFTWARE.
<j:set var="close" value="javascript:hideFailureSummary('${id}')"/>
<h4>
<a id="${id}-showlink" href="${open}" title="Show ${title}" style="display: ${idisplay}">
<l:icon class="icon-document-add icon-sm"/><st:nbsp/>${title}
<l:icon src="symbol-add-outline plugin-ionicons-api" class="icon-sm"/><st:nbsp/>${title}
</a>
<a id="${id}-hidelink" href="${close}" title="Hide ${title}" style="display: ${display}">
<l:icon class="icon-document-delete icon-sm"/><st:nbsp/>${title}
<l:icon src="symbol-remove-outline plugin-ionicons-api" class="icon-sm"/><st:nbsp/>${title}
</a>
</h4>
<pre id="${id}" style="display: ${display}">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lib/hudson/test/failed-test.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ THE SOFTWARE.
<j:set var="open" value="showFailureSummary('test-${id}','${url}/summary')"/>
<j:set var="close" value="hideFailureSummary('test-${id}')"/>
<a id="test-${id}-showlink" onclick="${open}" title="${%Show details}">
<l:icon class="icon-document-add icon-sm"/>
<l:icon src="symbol-add-outline plugin-ionicons-api" class="icon-sm"/>
</a>
<a id="test-${id}-hidelink" onclick="${close}" title="${%Hide details}" style="display:none">
<l:icon class="icon-document-delete icon-sm"/>
<l:icon src="symbol-remove-outline plugin-ionicons-api" class="icon-sm"/>
</a>
<st:nbsp/>
<a href="${url}"><st:out value="${result.fullDisplayName}"/></a>
Expand Down

0 comments on commit 909f4d9

Please sign in to comment.