We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640bf63 commit f4b7a61Copy full SHA for f4b7a61
src/app/item-page/alerts/item-alerts.component.html
@@ -1,8 +1,8 @@
1
-<div class="py-3">
2
- <div *ngIf="item && !item.isDiscoverable" class="private-warning">
+<div *ngIf="item && (!item.isDiscoverable || item.isWithdrawn)" class="pb-3">
+ <div *ngIf="!item.isDiscoverable" class="private-warning">
3
<ds-alert [type]="AlertTypeEnum.Warning" [content]="'item.alerts.private' | translate"></ds-alert>
4
</div>
5
- <div *ngIf="item && item.isWithdrawn" class="withdrawn-warning">
+ <div *ngIf="item.isWithdrawn" class="withdrawn-warning">
6
<ds-alert [type]="AlertTypeEnum.Warning">
7
<div class="d-flex justify-content-between flex-wrap flex-column">
8
<span class="align-self-center">{{'item.alerts.withdrawn' | translate}}</span>
0 commit comments