From 04b473d3d4cf589cb029eb90997a3412ba3ee863 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 4 Oct 2023 09:59:26 +0200 Subject: [PATCH 1/2] make the emojis colorful --- .../src/resources/CO2FootprintReportTemplate.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html index 9cebd9e..b1f23f5 100644 --- a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html +++ b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html @@ -213,19 +213,19 @@

Workflow execution completed unsuccessfully!

This is equivalent to:

-
Months a tree would need to sequester this amount of CO2
+
🌳 Months a tree would need to sequester this amount of CO2
${co2_totals.tree}
-
Km by car
+
🚗 Km by car
${co2_totals.car}
<% if (co2_totals.plane_percent) { %> -
Percentage of a flight Paris - London
+
🛩 Percentage of a flight Paris - London
${co2_totals.plane_percent}%
<% } %> <% if (co2_totals.plane_flights) { %> -
Number of flights Paris - London
+
🛩 Number of flights Paris - London
${co2_totals.plane_flights}
<% } %>
From 2e3e7a544dae26fb9099fd009d8eb0b635b65c06 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 4 Oct 2023 10:17:38 +0200 Subject: [PATCH 2/2] remove font-awesome library --- .../src/resources/CO2FootprintReportTemplate.html | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html index b1f23f5..1b89d97 100644 --- a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html +++ b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html @@ -21,7 +21,6 @@ - [${workflow.runName}] Nextflow Workflow Report