Skip to content

Commit d252824

Browse files
authored
feat: Switch to ionicons api (#582)
1 parent 8fa6245 commit d252824

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@
8787
<artifactId>workflow-step-api</artifactId>
8888
<version>639.v6eca_cd8c04a_a_</version> <!-- TODO until in BOM -->
8989
</dependency>
90+
<dependency>
91+
<groupId>io.jenkins.plugins</groupId>
92+
<artifactId>ionicons-api</artifactId>
93+
<version>19.v744f3b_2b_b_e4e</version>
94+
</dependency>
9095
<dependency>
9196
<groupId>org.jenkins-ci.plugins.workflow</groupId>
9297
<artifactId>workflow-api</artifactId>

src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private ReplayAction(Run run) {
102102
}
103103

104104
@Override public String getIconFileName() {
105-
return isEnabled() || isRebuildEnabled() ? "symbol-redo plugin-workflow-cps" : null;
105+
return isEnabled() || isRebuildEnabled() ? "symbol-arrow-redo-outline plugin-ionicons-api" : null;
106106
}
107107

108108
@Override public String getUrlName() {

src/main/resources/images/symbols/pause.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/resources/images/symbols/redo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/resources/org/jenkinsci/plugins/workflow/cps/PauseUnpauseAction/action.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ THE SOFTWARE.
2525

2626
<?jelly escape-by-default='true'?>
2727
<j:jelly xmlns:j="jelly:core" xmlns:l="/lib/layout">
28-
<l:task icon="symbol-pause plugin-workflow-cps" title="${%Pause/resume}" href="${h.getActionUrl(it.url, action)}/toggle" post="true" contextMenu="true"/>
28+
<l:task icon="symbol-pause-outline plugin-ionicons-api" title="${%Pause/resume}" href="${h.getActionUrl(it.url, action)}/toggle" post="true" contextMenu="true"/>
2929
</j:jelly>

0 commit comments

Comments
 (0)