finished changelog
This commit is contained in:
@ -27,9 +27,22 @@
|
||||
<th>Action</th>
|
||||
<th>Data</th>
|
||||
</tr>
|
||||
<tr *ngFor="let entry of changelog">
|
||||
<tr *ngFor="let entry of changelog; index as i" class="clickable" (click)="showDetails(i, sampleModal)">
|
||||
<td>{{entry.date}}</td>
|
||||
<td>{{entry.action}}</td>
|
||||
<td>{{entry.data | json}}</td>
|
||||
</tr>
|
||||
</rb-table>
|
||||
|
||||
<ng-template #sampleModal>
|
||||
<h4>Date</h4>
|
||||
<p class="space-below">{{changelog[modalDetail].date}}</p>
|
||||
<h4>Action</h4>
|
||||
<p class="space-below">{{changelog[modalDetail].action}}</p>
|
||||
<h4>Collection</h4>
|
||||
<p class="space-below">{{changelog[modalDetail].collection}}</p>
|
||||
<h4>Conditions</h4>
|
||||
<p class="space-below">{{changelog[modalDetail].conditions | json}}</p>
|
||||
<h4>Data</h4>
|
||||
<p class="space-below">{{changelog[modalDetail].data | json}}</p>
|
||||
</ng-template>
|
||||
|
Reference in New Issue
Block a user