mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fix to message, margin and deletion page reset
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
"admin.registries.bitstream-formats.create.new": "Add a new bitstream format",
|
||||
"admin.registries.bitstream-formats.create.success.content": "The new bitstream format was successfully created.",
|
||||
"admin.registries.bitstream-formats.create.success.head": "Success",
|
||||
"admin.registries.bitstream-formats.delete.failure.amount": "The following amount of bitstream formats could not be deleted: {{ amount }} ",
|
||||
"admin.registries.bitstream-formats.delete.failure.amount": "Failed to remove {{ amount }} format(s)",
|
||||
"admin.registries.bitstream-formats.delete.failure.head": "Failure",
|
||||
"admin.registries.bitstream-formats.delete.success.amount": "The following amount of bitstream formats have been successfully deleted: {{ amount }}",
|
||||
"admin.registries.bitstream-formats.delete.success.amount": "Successfully removed {{ amount }} format(s)",
|
||||
"admin.registries.bitstream-formats.delete.success.head": "Success",
|
||||
"admin.registries.bitstream-formats.description": "This list of bitstream formats provides information about known formats and their support level.",
|
||||
"admin.registries.bitstream-formats.edit.description.hint": "",
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="bitstream-formats row">
|
||||
<div class="col-12">
|
||||
|
||||
<h2 id="header" class="border-bottom mb-2">{{'admin.registries.bitstream-formats.head' | translate}}</h2>
|
||||
<h2 id="header" class="border-bottom pb-2 ">{{'admin.registries.bitstream-formats.head' | translate}}</h2>
|
||||
|
||||
<p id="description">{{'admin.registries.bitstream-formats.description' | translate}}</p>
|
||||
<p id="create-new" class="mb-2"><a [routerLink]="'add'" class="btn btn-success">{{'admin.registries.bitstream-formats.create.new' | translate}}</a></p>
|
||||
|
@@ -78,8 +78,11 @@ export class BitstreamFormatsComponent implements OnInit {
|
||||
}
|
||||
|
||||
this.deselectAll();
|
||||
this.pageState.next('update-on-delete');
|
||||
});
|
||||
|
||||
this.router.navigate([], {
|
||||
queryParams: Object.assign({}, { page: 1 }),
|
||||
queryParamsHandling: 'merge'
|
||||
}); });
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user