Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(user): Use the user's displayname from API's history and events
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld authored and aelamrani committed Dec 21, 2018
1 parent 30979c1 commit 4ee9797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/management/api/audit/events/apiEvents.html
Expand Up @@ -27,7 +27,7 @@
<timeline-heading>
<h5>{{eventTimeline.title | uppercase}}</h5>
<p ng-if="eventTimeline.when">
<small class="text-muted ng-binding"><i class="glyphicon glyphicon-time"></i>{{eventTimeline.when | date : 'medium'}} by {{eventTimeline.user.firstname? eventTimeline.user.firstname + ' ' + eventTimeline.user.lastname : eventTimeline.user.username}}</small>
<small class="text-muted ng-binding"><i class="glyphicon glyphicon-time"></i>{{eventTimeline.when | date : 'medium'}} by {{eventTimeline.user.displayName}}</small>
</p>
</timeline-heading>
</timeline-panel>
Expand Down
2 changes: 1 addition & 1 deletion src/management/api/audit/history/apiHistory.html
Expand Up @@ -31,7 +31,7 @@ <h5>{{eventTimeline.title | uppercase}}
<ng-md-icon class="api-history-icon" ng-show="apiHistoryCtrl.isEventSelectedForComparaison(eventTimeline)" icon="compare" style="fill: green;"></ng-md-icon>
</h5>
<p ng-if="eventTimeline.when">
<small class="text-muted ng-binding"><i class="glyphicon glyphicon-time"></i>{{eventTimeline.when | date : 'medium'}} by {{eventTimeline.user.firstname? eventTimeline.user.firstname + ' ' + eventTimeline.user.lastname : eventTimeline.user.username}}</small>
<small class="text-muted ng-binding"><i class="glyphicon glyphicon-time"></i>{{eventTimeline.when | date : 'medium'}} by {{eventTimeline.user.displayName}}</small>
</p>
<p ng-if="eventTimeline.isCurrentAPI">
<small class="text-muted ng-binding"><i class="glyphicon glyphicon-info-sign"></i>In progress API definition</small>
Expand Down

0 comments on commit 4ee9797

Please sign in to comment.