switched to 'retrieve' as the property for a bitstream's file url

This commit is contained in:
Art Lowel
2017-06-16 09:19:00 +02:00
parent 70c43b5fda
commit 4325e569fd
3 changed files with 4 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
<ds-field-wrapper *ngIf="logo" class="collection-page-logo"> <ds-field-wrapper *ngIf="logo" class="collection-page-logo">
<img [src]="logo.url" class="img-responsive" alt="Collection logo" /> <img [src]="logo.retrieve" class="img-responsive" alt="Collection logo" />
</ds-field-wrapper> </ds-field-wrapper>

View File

@@ -18,7 +18,7 @@ export class NormalizedBitstream extends NormalizedDSpaceObject {
* The relative path to this Bitstream's file * The relative path to this Bitstream's file
*/ */
@autoserialize @autoserialize
url: string; retrieve: string;
/** /**
* The mime type of this Bitstream * The mime type of this Bitstream

View File

@@ -9,11 +9,6 @@ export class Bitstream extends DSpaceObject {
*/ */
size: number; size: number;
/**
* The relative path to this Bitstream's file
*/
url: string;
/** /**
* The mime type of this Bitstream * The mime type of this Bitstream
*/ */
@@ -40,7 +35,7 @@ export class Bitstream extends DSpaceObject {
owner: RemoteData<Item>; owner: RemoteData<Item>;
/** /**
* The Bundle that owns this Bitstream * The URL to retrieve this Bitstream's file
*/ */
retrieve: string; retrieve: string;