Only show performer if present

This commit is contained in:
Joseph Schorr 2013-12-02 13:51:42 -05:00
parent a77aeaaef9
commit 20d2aa557a

View file

@ -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>