Skip to content

Commit

Permalink
#41 #16 fix score issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed May 17, 2017
1 parent f36001c commit 2867f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thehive-templates/VMRay_1_0/short.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<span ng-if="content.reports.length == 0" class="label label-info">VMRay:scans= No scans</span>&nbsp;
<span ng-if="content.reports.length == 0" class="label label-info">VMRay:scans= No scan</span>&nbsp;
<span ng-if="content.reports.length > 0" class="label label-info">VMRay:scans= {{content.reports.length}} scans</span>&nbsp;
<!-- For each report -->
<div style="display: inline-block;" ng-repeat="s in content.reports">
<span class="label label-info">VMRay:score= {{s.sample_score}}</span></a>&nbsp;
<span class="label label-info">VMRay:score= {{s.score}}</span></a>&nbsp;
<span class="label" ng-class="{'label-success':sample.sample_severity === 'not_suspicious',
'label-danger': sample.sample_severity==='malicious', 'label-info'">{{sample.sample_severity}}</span>
</div>

0 comments on commit 2867f09

Please sign in to comment.