Skip to content

Commit

Permalink
#897 Add artifact description on mouse over in alert preview dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Feb 23, 2019
1 parent 70666ee commit f6c504c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/app/views/partials/alert/event.dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ <h4 class="vpad10 text-primary">
</tr>
</thead>
<tbody>
<tr ng-repeat="attribute in dialog.pagination.data">
<tr ng-repeat="attribute in dialog.pagination.data" class="clickable">
<td>
<span uib-tooltip="Seen on {{attribute.seen}} existing case(s)" tooltip-popup-delay="500" tooltip-placement="bottom" ng-if="attribute.seen > 0" class="glyphicon glyphicon-eye-open"></span>
</td>
<td>{{attribute.dataType}}</td>
<td class="wrap">
<div class="wrap" ng-if="attribute.dataType !== 'file'">
<div class="wrap" ng-if="attribute.dataType !== 'file'" uib-tooltip="{{attribute.message}}" tooltip-placement="top-left">
{{attribute.data | fang | ellipsis:250}}
</div>
<div class="wrap" ng-if="attribute.dataType === 'file' && attribute.attachment">
<div class="wrap" ng-if="attribute.dataType === 'file' && attribute.attachment" uib-tooltip="{{attribute.message}}" tooltip-placement="top-left">
{{attribute.attachment.name}} ({{attribute.attachment.size}} bytes)
</div>
<div class="wrap" ng-if="attribute.dataType === 'file' && attribute.remoteAttachment">
<div class="wrap" ng-if="attribute.dataType === 'file' && attribute.remoteAttachment" uib-tooltip="{{attribute.message}}" tooltip-placement="top-left">
{{attribute.remoteAttachment.filename}}
</div>
<div class="case-tags flexwrap mt-xxs" ng-if="attribute.tags.length > 0">
Expand Down

0 comments on commit f6c504c

Please sign in to comment.