Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from Greybird/JENKINS-6936
[JENKINS-6936] Use dedicated claim icon everywhere
- Loading branch information
Showing
13 changed files
with
83 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package hudson.plugins.claim; | ||
|
||
import hudson.Plugin; | ||
import org.jenkins.ui.icon.Icon; | ||
import org.jenkins.ui.icon.IconSet; | ||
|
||
public class ClaimPlugin extends Plugin { | ||
@Override | ||
public void start() throws Exception { | ||
super.start(); | ||
IconSet.icons.addIcon( | ||
new Icon("icon-claim-claim icon-sm", | ||
"plugin/claim/images/16x16/claim.png", | ||
Icon.ICON_SMALL_STYLE)); | ||
IconSet.icons.addIcon( | ||
new Icon("icon-claim-claim icon-md", | ||
"plugin/claim/images/24x24/claim.png", | ||
Icon.ICON_MEDIUM_STYLE)); | ||
IconSet.icons.addIcon( | ||
new Icon("icon-claim-claim icon-lg", | ||
"plugin/claim/images/32x32/claim.png", | ||
Icon.ICON_LARGE_STYLE)); | ||
IconSet.icons.addIcon( | ||
new Icon("icon-claim-claim icon-xlg", | ||
"plugin/claim/images/48x48/claim.png", | ||
Icon.ICON_XLARGE_STYLE)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
src/main/resources/hudson/plugins/claim/AbstractClaimBuildAction/badge.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/resources/hudson/plugins/claim/ClaimColumn/column.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
climed.reason={0} Claimed by {1}. Reason: {2} | ||
claimed.reason={0} Claimed by {1}. Reason: {2} | ||
assigned.reason=Assigned to {0} by {1}. Reason: {2} | ||
climed={0} Claimed by {1}. | ||
claimed={0} Claimed by {1}. | ||
assigned=Assigned to {0} by {1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes