Skip to content

Commit

Permalink
#316 #303 Use owner and createdBy properties instead of deprecated us…
Browse files Browse the repository at this point in the history
…er property
  • Loading branch information
nadouani committed Oct 19, 2017
1 parent f5c1da4 commit 28c1a42
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions ui/app/views/directives/flow/operation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
</span>
</span>
</span>
<span class="operation-user">{{getUserInfo.get(base.user) | getField: 'name'}}</span>
<span class="operation-user">{{getUserInfo.get(base.createdBy) | getField: 'name'}}</span>

<span class="operation-timer pull-right">
<i class="text-default glyphicon glyphicon-time"></i>
<i class="text-default glyphicon glyphicon-time"></i>
<timer interval="30000" start-time="gtime(base.startDate)">
{{millis | amDurationFormat : 'milliseconds'}}
</timer>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/flow/task-log.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="flow-task-log log-entry">
<div class="flow-item-title wrap">
<i class="glyphicon glyphicon-comment"></i>
<span ng-bind="getUserInfo.get(base.user) | getField: 'name'"></span>
<span ng-bind="getUserInfo.get(base.createdBy) | getField: 'name'"></span>
</div>
<div class="flow-item-updates wrap">
<span ng-bind="base.details.message| limitTo: 250"></span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/log-entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="log-entry">
<div class="row mb-xxs">
<div class="col-md-6">
<user user-id="log.user" icon-size="xs"></user>
<user user-id="log.owner" icon-size="xs"></user>
</div>
<div class="col-md-6">
<span class="pull-right">
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/search/case.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<div>
<i class="glyphicon glyphicon-user"></i>
<span>{{getUserInfo.get(value.user) | getField: 'name'}}</span>
<span>{{getUserInfo.get(value.owner) | getField: 'name'}}</span>

<i class="glyphicon glyphicon-calendar ml-xxs"></i>
<span ng-bind="value.startDate | showDate"></span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/search/observable-job.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<div>
<i class="glyphicon glyphicon-user"></i>
<span>{{getUserInfo.get(value.user) | getField: 'name'}}</span>
<span>{{getUserInfo.get(value.createdBy) | getField: 'name'}}</span>

<i class="glyphicon glyphicon-calendar ml-xxs"></i>
Started on <span ng-bind="value.startDate | showDate"> </span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/search/observable.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
<div>
<i class="glyphicon glyphicon-user"></i>
<span>{{getUserInfo.get(value.user) | getField: 'name'}}</span>
<span>{{getUserInfo.get(value.createdBy) | getField: 'name'}}</span>

<i class="glyphicon glyphicon-calendar ml-xxs"></i>
<span ng-bind="value.startDate | showDate"></span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/search/task-log.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="search-item-title">
<a href ui-sref="app.case.tasks-item({caseId: value.case_task.case.id, itemId: value.case_task.id})">
Message by {{value.user}}
Message by {{value.owner}}
</a>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/search/task.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<div>
<i class="glyphicon glyphicon-user"></i>
<span>{{getUserInfo.get(value.user) | getField: 'name'}}</span>
<span>{{getUserInfo.get(value.owner) | getField: 'name'}}</span>

<i class="glyphicon glyphicon-calendar ml-xxs"></i>
<span ng-bind="value.startDate | showDate"></span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/partials/case/case.merge.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h4>{{c.title}}</h4>
<div>
<span>
<i class="glyphicon glyphicon-user"></i>
<span ng-bind="dialog.getUserInfo.get(c.user) | getField: 'name'"></span>
<span ng-bind="dialog.getUserInfo.get(c.owner) | getField: 'name'"></span>
</span>
<span class="ml-xxs">
<i class="glyphicon glyphicon-calendar"></i>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/partials/case/case.panelinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3 class="box-title">
<div class="box-body">
<span>
<i class="glyphicon glyphicon-user"></i>
Created by <span ng-bind="getUserInfo.get(caze.user) | getField: 'name'"></span>
Created by <span ng-bind="getUserInfo.get(caze.owner) | getField: 'name'"></span>
</span>
<span class="ml-xxs">
<i class="glyphicon glyphicon-calendar"></i>
Expand Down

0 comments on commit 28c1a42

Please sign in to comment.