Skip to content

Commit

Permalink
WINDUP-648 fixed always plural in java app reports template
Browse files Browse the repository at this point in the history
  • Loading branch information
mareknovotny committed Jul 10, 2015
1 parent 286cacd commit 6a59031
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@
</td>
<td>
<#if sourceReportModel.sourceFileModel.inlineHints.iterator()?has_content || sourceReportModel.sourceFileModel.classificationModels.iterator()?has_content>
<b>Warnings: ${sourceReportModel.sourceFileModel.inlineHintCount + sourceReportModel.sourceFileModel.classificationCount} items</b>
<#assign warnings = sourceReportModel.sourceFileModel.inlineHintCount + sourceReportModel.sourceFileModel.classificationCount>
<b>Warnings: ${warnings}
<#if warnings == 1>
item
<#else>
items
</#if>
</b>
<ul class='notifications'>
<#list sourceReportModel.sourceFileModel.classificationModels.iterator() as classification>
<#if classification.classification?has_content>
Expand Down

0 comments on commit 6a59031

Please sign in to comment.