mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
size data (#416)
This commit is contained in:
committed by
Denys Vuika
parent
b06dcd4391
commit
51cd3744c5
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
by <span> {{ user }} </span>
|
by <span> {{ user }} </span>
|
||||||
|
|
||||||
<span *ngIf="size">| {{ size }} </span>
|
<span *ngIf="size">| {{ 'APP.BROWSE.SEARCH.CUSTOM_ROW.SIZE' | translate }}: {{ size | adfFileSize }} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="line">{{ 'APP.BROWSE.SEARCH.CUSTOM_ROW.LOCATION' | translate }}: <app-location-link [context]="context"></app-location-link></div>
|
<div class="line">{{ 'APP.BROWSE.SEARCH.CUSTOM_ROW.LOCATION' | translate }}: <app-location-link [context]="context"></app-location-link></div>
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export class CustomDlRowComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get size() {
|
get size() {
|
||||||
return this.getValue('content.modifiedAt');
|
return this.getValue('content.sizeInBytes');
|
||||||
}
|
}
|
||||||
|
|
||||||
get user() {
|
get user() {
|
||||||
|
|||||||
@@ -101,7 +101,8 @@
|
|||||||
"FOUND_RESULTS": "{{ number }} results found",
|
"FOUND_RESULTS": "{{ number }} results found",
|
||||||
"CUSTOM_ROW": {
|
"CUSTOM_ROW": {
|
||||||
"MODIFIED": "Modified",
|
"MODIFIED": "Modified",
|
||||||
"LOCATION": "Location"
|
"LOCATION": "Location",
|
||||||
|
"SIZE": "Size"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user