Skip to content

Commit 61576e9

Browse files
committed
Insert the bitstream access status badge before the element and increase margins
1 parent d72bc0d commit 61576e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/shared/file-download-link/file-download-link.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="dont-break-out"
1+
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
2+
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="d-block dont-break-out mb-1"
23
[queryParams]="(bitstreamPath$| async)?.queryParams"
34
[target]="isBlank ? '_blank': '_self'"
45
[ngClass]="cssClasses"
@@ -8,7 +9,6 @@
89
}
910
<ng-container *ngTemplateOutlet="content"></ng-container>
1011
</a>
11-
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
1212

1313
<ng-template #content>
1414
<ng-content></ng-content>

0 commit comments

Comments
 (0)