Skip to content

Commit

Permalink
3.0.2
Browse files Browse the repository at this point in the history
Compress empty spaces in template
  • Loading branch information
kadehar authored Jun 22, 2021
2 parents 82fa37e + 51a6e9e commit 0ad5109
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group 'allure.notifications'
version '3.0.1'
version '3.0.2'

sourceCompatibility = 1.8

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/templates/html.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#compress>
<b>${results}:</b>
<b>${environment}:</b> ${env}
<b>${duration}:</b> ${time}
Expand All @@ -9,4 +10,5 @@
<#if skipped != 0 ><b>${totalSkipped}:</b> ${skipped} </#if>
<#if passedPercentage != 0 ><b>% ${ofPassedTests}:</b> ${passedPercentage} </#if>
<#if failedPercentage != 0 ><b>% ${ofFailedTests}:</b> ${failedPercentage} </#if>
<b>${reportAvailableByLink}:</b> ${reportLink}
<b>${reportAvailableByLink}:</b> ${reportLink}
</#compress>
4 changes: 3 additions & 1 deletion src/main/resources/templates/markdown.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#compress>
*${results}:*
*${environment}:* ${env}
*${duration}:* ${time}
Expand All @@ -9,4 +10,5 @@
<#if skipped != 0 > *${totalSkipped}:* ${skipped} </#if>
<#if passedPercentage != 0 >*% ${ofPassedTests}:* ${passedPercentage} </#if>
<#if failedPercentage != 0 >*% ${ofFailedTests}:* ${failedPercentage} </#if>
*${reportAvailableByLink}:* ${reportLink}
*${reportAvailableByLink}:* ${reportLink}
</#compress>

0 comments on commit 0ad5109

Please sign in to comment.