Added notice when there are some failed projects. This required some refactorings and fixes, that are also included in this commit.

This commit is contained in:
Šesták Vít
2016-05-13 19:31:47 +02:00
parent 604fc56d76
commit 6c8b2cf859
14 changed files with 104 additions and 51 deletions

View File

@@ -0,0 +1,12 @@
@import com.ysoft.odc.statistics.FailedProjects
@(failedProjects: FailedProjects)
@if(failedProjects.nonEmpty){
<div class="alert alert-danger">
Some projects are excluded from the report, because there is some failure for them:
<ul>
@for(proj <- failedProjects.failedProjectsSet.toIndexedSeq.sortBy(_.projectName.toLowerCase)){
<li>@proj.projectName</li>
}
</ul>
</div>
}