Skip to content

Commit

Permalink
Merge pull request #823 from HiP-App/iss-hipcms-1075
Browse files Browse the repository at this point in the history
change userId property in History component to userName
  • Loading branch information
melkishengue authored Sep 10, 2018
2 parents 9b48481 + 80a1d0b commit f9ec014
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 md-dialog-title>{{ (data.title ? data.title : ('' | translate) ) + " " +(' D
<span class = "title">User:</span>
</div>
<div class = "tableColumn content">
<span class = "">{{ data.change.userId }}</span>
<span class = "">{{ data.change.userName }}</span>
</div>
</md-list-item>
<md-list-item>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,49 +1,54 @@
<h1 md-dialog-title>{{ (data.title ? data.title : ('no title' | translate) ) + " " +('change history' | translate) }}</h1>
<h1 md-dialog-title>{{ (data.title ? data.title : ('no title' | translate) ) + " " +('change history' | translate) }}</h1>

<md-dialog-content>
<div>
<p class = "title" >Created: </p>
<p class = "text" >{{ data.data.created | date: "dd.MM.yyyy" }}</p>
<p class="title">Created: </p>
<p class="text">{{ data.data.created | date: "dd.MM.yyyy" }}</p>
</div>
<div>
<p class = "title" >Last modified: </p>
<p class = "text">{{ data.data.lastModified | date: "dd.MM.yyyy" }}</p>
<p class="title">Last modified: </p>
<p class="text">{{ data.data.lastModified | date: "dd.MM.yyyy" }}</p>
</div>
<div *ngIf="data.data.deleted">
<p class = "title" >Deleted: </p>
<p class = "text">{{ data.data.deleted | date: "dd.MM.yyyy" }}</p>
<p class="title">Deleted: </p>
<p class="text">{{ data.data.deleted | date: "dd.MM.yyyy" }}</p>
</div>
<div >
<p class = "title" >Owner: </p>
<p class = "text">{{ data.data.owner }}</p>
<div>
<p class="title">Owner: </p>
<p class="text">{{ data.data.owner }}</p>
</div>
<md-list >
<md-list>
<md-list-item>
<div class = "tableColumn"><p class = "title">Description: </p>
<div class="tableColumn">
<p class="title">Description: </p>
</div>
<div class = "tableColumn"><p class = "title" >Time Stamp: </p>
<div class="tableColumn">
<p class="title">Time Stamp: </p>
</div>
<div class = "tableColumn"><p class = "title">User: </p>
<div class="tableColumn">
<p class="title">User: </p>
</div>
<div class = "tableColumn"><p class = "title">Property: </p>
<div class="tableColumn">
<p class="title">Property: </p>
</div>
<div class = "tableColumn"><p class = "title">Value: </p>
<div class="tableColumn">
<p class="title">Value: </p>
</div>
</md-list-item>
<md-list-item *ngFor="let change of data.data.changes">
<div class = "tableColumn">
<p class = "text">{{ change.description }}</p>
<div class="tableColumn">
<p class="text">{{ change.description }}</p>
</div>
<div class = "tableColumn">
<p class = "text">{{ change.timestamp | date: "dd.MM.yyyy" }}</p>
<div class="tableColumn">
<p class="text">{{ change.timestamp | date: "dd.MM.yyyy" }}</p>
</div>
<div class = "tableColumn">
<p class = "text">{{ change.userId }}</p>
<div class="tableColumn">
<p class="text">{{ change.userName }}</p>
</div>
<div class = "tableColumn">
<p class = "text">{{ change.property }}</p>
<div class="tableColumn">
<p class="text">{{ change.property }}</p>
</div>
<div class = "tableColumn">
<div class="tableColumn">
<readmore [change]="change"></readmore>
</div>
</md-list-item>
Expand Down

0 comments on commit f9ec014

Please sign in to comment.