-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gabriel Oliveira <[email protected]>
- Loading branch information
Gabriel Oliveira
committed
Feb 2, 2017
1 parent
2a41f2f
commit f993215
Showing
5 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/main/resources/com/evo/jenkinsplugins/redtime/Messages_pt_BR.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,2 +1,2 @@ | ||
Redtime.ReportName=Relatório de tempo de falha | ||
Redtime.ReportName=Relat\u00F3rio de tempo de falha | ||
Redtime.RedtimeDurationNotFixedYet={0} (N\u00E3o corrigido) |
29 changes: 13 additions & 16 deletions
29
src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport.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
2 changes: 1 addition & 1 deletion
2
...ources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport_pt_BR.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 @@ | ||
Job\ name=Nome do job | ||
Job\ name=Nome | ||
Failure=Falha | ||
Fix=Corre\u00E7\u00E3o | ||
Duration=Dura\u00E7\u00E3o |
20 changes: 20 additions & 0 deletions
20
src/main/resources/com/evo/jenkinsplugins/redtime/jobLink.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" | ||
xmlns:st="jelly:stapler" | ||
xmlns:l="/lib/layout"> | ||
<st:documentation> | ||
Generates a link to a job with health report icon | ||
<st:attribute name="job" type="hudson.model.Job" use="required"> | ||
Job object to be displayed. | ||
</st:attribute> | ||
</st:documentation> | ||
|
||
<j:set var="healthReports" value="${job.buildHealthReports}"/> | ||
<j:new var="emptyHealthReport" className="hudson.model.HealthReport"/> | ||
<j:set var="buildHealth" value="${empty(healthReports) ? emptyHealthReport : healthReports[0]}"/> | ||
|
||
<a href="${h.getRelativeLinkTo(job)}" class="model-link"> | ||
<l:icon class="${buildHealth.iconClassName} icon-sm" alt="${buildHealth.score}%"/> | ||
<l:breakable value="${job.fullDisplayName}"/> | ||
</a> | ||
</j:jelly> |
Empty file.