Only show performer if present
This commit is contained in:
parent
a77aeaaef9
commit
20d2aa557a
1 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
<span class="right">
|
||||
<button class="btn btn-default btn-toggle" ng-class="chartVisible ? 'active' : ''" ng-click="toggleChart()">
|
||||
Show Chart
|
||||
<i class="fa" ng-class="chartVisible ? 'fa-toggle-down' : 'fa-toggle-right'" style="margin-left: 10px"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -41,7 +42,12 @@
|
|||
</td>
|
||||
<td>{{ log.datetime }}</td>
|
||||
<td>
|
||||
<span class="entity-reference" name="log.performer.username" isrobot="log.performer.is_robot"></span>
|
||||
<span ng-show="log.performer">
|
||||
<span class="entity-reference" name="log.performer.username" isrobot="log.performer.is_robot"></span>
|
||||
</span>
|
||||
<span ng-show="!log.performer">
|
||||
(anonymous)
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Reference in a new issue