|
36 | 36 | <!-- Modal Body -->
|
37 | 37 | <div class="cx-dialog-body modal-body">
|
38 | 38 | @for (errorId of erroredAttachments; track errorId) {
|
39 |
| - <div class="cx-dialog-message attachment-error" aria-live="assertive" aria-atomic="true"> |
40 |
| - <cx-message |
41 |
| - [text]="'s4omOrder.attachments.dialog.downloadError' | cxTranslate" |
42 |
| - [type]="globalMessageType.MSG_TYPE_ERROR" |
43 |
| - (closeMessage)="closeErrorMessage(errorId)" |
44 |
| - > |
45 |
| - </cx-message> |
46 |
| - </div> |
| 39 | + <cx-message |
| 40 | + [text]="'s4omOrder.attachments.dialog.downloadError' | cxTranslate" |
| 41 | + [type]="globalMessageType.MSG_TYPE_ERROR" |
| 42 | + (closeMessage)="closeErrorMessage(errorId)" |
| 43 | + class="cx-dialog-message attachment-error" |
| 44 | + > |
| 45 | + </cx-message> |
47 | 46 | }
|
48 | 47 | @if (attachments$ | async; as attachments) {
|
49 | 48 | @if (!(error$ | async)) {
|
|
85 | 84 | </tr>
|
86 | 85 | }
|
87 | 86 | } @empty {
|
88 |
| - <div class="cx-dialog-message info-message" aria-live="assertive" aria-atomic="true"> |
89 |
| - <cx-message |
90 |
| - [text]="'s4omOrder.attachments.dialog.empty' | cxTranslate" |
91 |
| - [type]="globalMessageType.MSG_TYPE_INFO" |
92 |
| - [isVisibleCloseButton]="false" |
93 |
| - > |
94 |
| - </cx-message> |
95 |
| - </div> |
| 87 | + <cx-message |
| 88 | + [text]="'s4omOrder.attachments.dialog.empty' | cxTranslate" |
| 89 | + [type]="globalMessageType.MSG_TYPE_INFO" |
| 90 | + [isVisibleCloseButton]="false" |
| 91 | + class="cx-dialog-message info-message" |
| 92 | + > |
| 93 | + </cx-message> |
96 | 94 | }
|
97 | 95 | </table>
|
98 | 96 | } @else {
|
99 |
| - <div class="cx-dialog-message error-message" aria-live="assertive" aria-atomic="true"> |
100 |
| - <cx-message |
101 |
| - [text]="'s4omOrder.attachments.dialog.error' | cxTranslate" |
102 |
| - [type]="globalMessageType.MSG_TYPE_ERROR" |
103 |
| - [isVisibleCloseButton]="false" |
104 |
| - > |
105 |
| - </cx-message> |
106 |
| - </div> |
| 97 | + <cx-message |
| 98 | + [text]="'s4omOrder.attachments.dialog.error' | cxTranslate" |
| 99 | + [type]="globalMessageType.MSG_TYPE_ERROR" |
| 100 | + [isVisibleCloseButton]="false" |
| 101 | + class="cx-dialog-message error-message" |
| 102 | + > |
| 103 | + </cx-message> |
107 | 104 | }
|
108 | 105 | } @else {
|
109 | 106 | <div class="cx-spinner">
|
|
0 commit comments