mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Added param to hide pagination details
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<div *ngIf="currentPageState == undefined || currentPageState == currentPage">
|
<div *ngIf="currentPageState == undefined || currentPageState == currentPage">
|
||||||
<div class="pagination-masked clearfix top">
|
<div class="pagination-masked clearfix top">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-auto pagination-info">
|
<div *ngIf="!hidePaginationDetail" class="col-auto pagination-info">
|
||||||
<span class="align-middle hidden-xs-down">{{ 'pagination.showing.label' | translate }}</span>
|
<span class="align-middle hidden-xs-down">{{ 'pagination.showing.label' | translate }}</span>
|
||||||
<span class="align-middle" *ngIf="collectionSize">{{ 'pagination.showing.detail' | translate:getShowingDetails(collectionSize)}}</span>
|
<span class="align-middle" *ngIf="collectionSize">{{ 'pagination.showing.detail' | translate:getShowingDetails(collectionSize)}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -84,6 +84,11 @@ export class PaginationComponent implements OnDestroy, OnInit {
|
|||||||
*/
|
*/
|
||||||
@Output() paginationChange: EventEmitter<any> = new EventEmitter<any>();
|
@Output() paginationChange: EventEmitter<any> = new EventEmitter<any>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Option for hiding the pagination detail
|
||||||
|
*/
|
||||||
|
@Input() public hidePaginationDetail = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Option for hiding the gear
|
* Option for hiding the gear
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user