Added recognition for suppressed identifiers

This commit is contained in:
Šesták Vít
2016-12-09 16:38:55 +01:00
parent bda2debd6d
commit 4c77ef296c
3 changed files with 13 additions and 6 deletions

View File

@@ -14,3 +14,6 @@
@if(addButtons && suppressionXmlIdOption.isDefined){<span class="btn-xs library-identification-badge-hack">&nbsp;</span>}
</span>
}
@for(id <- dep.suppressedIdentifiers.toSeq.sortBy(i => (i.confidence, i.identifierType, i.name, i.url)).reverse){
<span class="badge"><del>@identifier(id, addLink)</del></span>
}

View File

@@ -4,6 +4,7 @@
@for(groupedDependency <- items){
<li>
<strong>@groupedDependency.fileNames.toSeq.sorted</strong>
@*TODO: Consider using libraryIdentification there in otder to support suppressedIdentifiers properly *@
@identifiers(groupedDependency.identifiers)
@groupedDependency.dependencies.keySet.groupBy(_.evidenceCollected)
</li>