Prettify eventlog source display

This commit is contained in:
Johannes Zellner
2018-03-02 19:21:24 +01:00
parent 31c414bbe1
commit 91265613a9
2 changed files with 18 additions and 1 deletions

View File

@@ -38,7 +38,7 @@
<tbody ng-repeat="eventLog in eventLogs">
<tr ng-click="showEventLogDetails(eventLog)" class="hand">
<td><span uib-tooltip="{{ eventLog.creationTime | prettyLongDate }}" class="arrow">{{ eventLog.creationTime | prettyDate }}</span></td>
<td>{{ eventLog.source.username || eventLog.source.userId || eventLog.source.authType }} <span ng-show="eventLog.source.ip || eventLog.source.appId"> ({{ eventLog.source.ip || eventLog.source.appId }}) </span> </td>
<td>{{ eventLog | eventLogSource }}</td>
<td>{{ eventLog | eventLogAction }}</td>
<td ng-bind-html="eventLog | eventLogDetails"></td>
</tr>