Skip to content

Commit ad87426

Browse files
committed
fix: removed wrong i18n translation message and use the correct one; display of bundle controls in correct column
1 parent f5ffd05 commit ad87426

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream-bundle/item-edit-bitstream-bundle.component.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
<th id="actions" scope="col" class="{{ columnSizes.columns[3].buildClasses() }} text-center">
2828
{{'item.edit.bitstreams.headers.actions' | translate}}
2929
</th>
30-
<th id="sync-status" scope="col" class="{{ columnSizes.columns[4].buildClasses() }} text-center">
31-
{{'item.edit.bitstreams.headers.sync-status' | translate}}
30+
<th id="synchronized" scope="col" class="{{ columnSizes.columns[4].buildClasses() }} text-center">
31+
{{'item.edit.bitstreams.headers.synchronized' | translate}}
3232
</th>
3333
</tr>
3434
</thead>
3535

3636
<tbody cdkDropList (cdkDropListDropped)="drop($event)">
3737
<tr class="bundle-row">
38-
<th id="{{ bundleName }}" class="span" colspan="4" scope="colgroup">
38+
<th id="{{ bundleName }}" class="span" colspan="3" scope="colgroup">
3939
{{'item.edit.bitstreams.bundle.name' | translate:{ name: bundleName } }}
4040
</th>
4141
<td class="text-center">
@@ -77,6 +77,7 @@
7777
</div>
7878

7979
</td>
80+
<td></td>
8081
</tr>
8182

8283
<ng-container *ngFor="let entry of (tableEntries$ | async)">
@@ -132,7 +133,7 @@
132133
</div>
133134
</td>
134135
<td class="{{columnSizes.columns[4].buildClasses()}} row-element"
135-
headers="{{ entry.nameStripped }} {{ bundleName }} sync-status">
136+
headers="{{ entry.nameStripped }} {{ bundleName }} synchronized">
136137
<div class="d-flex align-items-center">
137138
<span class="text-center">
138139
<i [class]="isBitstreamSynchronized(entry) ? 'fas fa-check' : 'fas fa-times'"></i>
@@ -153,7 +154,7 @@
153154
</ng-template>
154155

155156
<ng-template #checksum let-entry="entry">
156-
<div class="hover-container"
157+
<div class="d-flex align-items-center"
157158
(mouseenter)="showChecksumValues = true"
158159
(mouseleave)="showChecksumValues = false"
159160
*ngVar="(checkSum$ | async) as bitstreamChecksum">

src/assets/i18n/en.json5

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,8 +2087,6 @@
20872087

20882088
"item.edit.bitstreams.headers.name": "Name",
20892089

2090-
"item.edit.bitstreams.headers.sync-status": "Sync Status",
2091-
20922090
"item.edit.bitstreams.notifications.discarded.content": "Your changes were discarded. To reinstate your changes click the 'Undo' button",
20932091

20942092
"item.edit.bitstreams.notifications.discarded.title": "Changes discarded",

0 commit comments

Comments
 (0)