Add additional columns to search results

Refs #69
This commit is contained in:
Will Abson
2016-05-20 16:38:54 +01:00
parent aaaf728168
commit f97f4ea088
3 changed files with 56 additions and 0 deletions

View File

@@ -4,15 +4,27 @@
<table *ngIf="results" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
<thead>
<tr>
<th>
<span class="mdl-data-table__cell--non-numeric"></span>
</th>
<th>
<span class="mdl-data-table__cell--non-numeric">Name</span>
</th>
<th>
<span class="mdl-data-table__cell--non-numeric">Modified by</span>
</th>
<th>
<span class="mdl-data-table__cell--non-numeric">Modified at</span>
</th>
</tr>
</thead>
<tbody>
<tr *ngFor="#result of results; #idx = index">
<td><img src="{{getDocumentThumbnailUrl(result)}}" /></td>
<td>{{result.entry.name}}</td>
<td>{{result.entry.modifiedByUser.displayName}}</td>
<td>{{result.entry.modifiedAt}}</td>
</tr>
</tbody>
</table>