custom date column template (#83)

This commit is contained in:
Cilibiu Bogdan
2017-11-24 11:54:48 +02:00
committed by Denys Vuika
parent ac6c9e961d
commit 1dcd4ef6ea
4 changed files with 14 additions and 11 deletions

View File

@@ -113,7 +113,6 @@
</ng-template>
</data-column>
<data-column
key="content.sizeInBytes"
title="APP.DOCUMENT_LIST.COLUMNS.SIZE"
@@ -122,9 +121,10 @@
<data-column
key="modifiedAt"
type="date"
format="timeAgo"
title="APP.DOCUMENT_LIST.COLUMNS.MODIFIED_ON">
<ng-template let-value="value">
<span title="{{ value | date:'medium' }}">{{ value | adfTimeAgo }}</span>
</ng-template>
</data-column>
<data-column