[CST-7757] modal fixes

This commit is contained in:
Davide Negretti
2023-02-08 19:56:54 +01:00
parent 325d78dded
commit 27f541ef84
4 changed files with 8 additions and 7 deletions

View File

@@ -27,6 +27,7 @@
</ds-alert>
</fieldset>
</div>
<p class="text-muted">{{'subscriptions.modal.delete-info' | translate}}</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary"

View File

@@ -1,8 +1,7 @@
<td class="dso-info">
<span *ngIf="!!dso" class="badge badge-info">{{dso.type}}</span>
<ds-type-badge *ngIf="!!dso" [object]="dso"></ds-type-badge>
<p><a *ngIf="!!dso" [routerLink]="[getPageRoutePrefix(), dso.id]">{{dso.name}}</a></p>
</td>
<td>
</td><td>
<span *ngIf="!!subscription" class="subscription-type">{{subscription.subscriptionType}}</span>
</td>
<td class="subscription-parameters">

View File

@@ -94,7 +94,7 @@ describe('SubscriptionViewComponent', () => {
});
it('should have dso object info', () => {
expect(de.query(By.css('.dso-info > span'))).toBeTruthy();
expect(de.query(By.css('.dso-info > ds-type-badge'))).toBeTruthy();
expect(de.query(By.css('.dso-info > p > a'))).toBeTruthy();
});

View File

@@ -4589,6 +4589,8 @@
"subscriptions.modal.close": "Close",
"subscriptions.modal.delete-info": "To remove this subscription, please visit the \"Subscriptions\" page under your user profile",
"subscriptions.modal.new-subscription-form.type.content": "Content",
"subscriptions.modal.new-subscription-form.frequency.D": "Daily",
@@ -4619,8 +4621,7 @@
"subscriptions.table.action": "Action",
"subscriptions.table.empty.message": "You have not subscribed any notification yet. To subscribe notification about an object please use the contextual menu in the object detail view",
"subscriptions.table.empty.message": "You do not have any subscriptions at this time. To subscribe to email updates for a Community or Collection, use the subscription button on the object's page.",
"thumbnail.default.alt": "Thumbnail Image",