mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Insert the bitstream access status badge before the element and increase margins
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="dont-break-out"
|
||||
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
|
||||
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="d-block dont-break-out mb-1"
|
||||
[queryParams]="(bitstreamPath$| async)?.queryParams"
|
||||
[target]="isBlank ? '_blank': '_self'"
|
||||
[ngClass]="cssClasses"
|
||||
@@ -8,7 +9,6 @@
|
||||
}
|
||||
<ng-container *ngTemplateOutlet="content"></ng-container>
|
||||
</a>
|
||||
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
|
||||
|
||||
<ng-template #content>
|
||||
<ng-content></ng-content>
|
||||
|
Reference in New Issue
Block a user