From f9932156959a0a3f05bde3ec6c71b0bb59a5c07d Mon Sep 17 00:00:00 2001 From: Gabriel Oliveira Date: Wed, 1 Feb 2017 22:57:36 -0200 Subject: [PATCH] Improve portlet ui Signed-off-by: Gabriel Oliveira --- .../redtime/Messages_pt_BR.properties | 2 +- .../RedtimeReportPortlet/redtimereport.jelly | 29 +++++++++---------- .../redtimereport_pt_BR.properties | 2 +- .../evo/jenkinsplugins/redtime/jobLink.jelly | 20 +++++++++++++ .../com/evo/jenkinsplugins/redtime/taglib | 0 5 files changed, 35 insertions(+), 18 deletions(-) create mode 100644 src/main/resources/com/evo/jenkinsplugins/redtime/jobLink.jelly create mode 100644 src/main/resources/com/evo/jenkinsplugins/redtime/taglib diff --git a/src/main/resources/com/evo/jenkinsplugins/redtime/Messages_pt_BR.properties b/src/main/resources/com/evo/jenkinsplugins/redtime/Messages_pt_BR.properties index a7c381e..c25b04b 100644 --- a/src/main/resources/com/evo/jenkinsplugins/redtime/Messages_pt_BR.properties +++ b/src/main/resources/com/evo/jenkinsplugins/redtime/Messages_pt_BR.properties @@ -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) \ No newline at end of file diff --git a/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport.jelly b/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport.jelly index af4a812..d8107ae 100644 --- a/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport.jelly +++ b/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport.jelly @@ -1,11 +1,12 @@ - + - +
- + @@ -13,26 +14,22 @@ - + - +
${%Job name}${%Job name} ${%Failure} ${%Fix} ${%Duration}
${red.job.fullDisplayName} + + - ${red.failure.number} - - - - + + - - ${red.repair.number} + - - - - - - ${red.durationString} + - ${red.durationString}
diff --git a/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport_pt_BR.properties b/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport_pt_BR.properties index ac26515..a9afc68 100644 --- a/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport_pt_BR.properties +++ b/src/main/resources/com/evo/jenkinsplugins/redtime/RedtimeReportPortlet/redtimereport_pt_BR.properties @@ -1,4 +1,4 @@ -Job\ name=Nome do job +Job\ name=Nome Failure=Falha Fix=Corre\u00E7\u00E3o Duration=Dura\u00E7\u00E3o diff --git a/src/main/resources/com/evo/jenkinsplugins/redtime/jobLink.jelly b/src/main/resources/com/evo/jenkinsplugins/redtime/jobLink.jelly new file mode 100644 index 0000000..f5f50e6 --- /dev/null +++ b/src/main/resources/com/evo/jenkinsplugins/redtime/jobLink.jelly @@ -0,0 +1,20 @@ + + + + Generates a link to a job with health report icon + + Job object to be displayed. + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/com/evo/jenkinsplugins/redtime/taglib b/src/main/resources/com/evo/jenkinsplugins/redtime/taglib new file mode 100644 index 0000000..e69de29