forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108588: Fix header ordering issues on community & collection pages
- Loading branch information
1 parent
038dd18
commit 989db14
Showing
11 changed files
with
52 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 21 additions & 22 deletions
43
src/app/browse-by/browse-by-metadata/browse-by-metadata.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
<div class="container"> | ||
<section class="comcol-page-browse-section"> | ||
<div class="browse-by-metadata w-100"> | ||
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100" | ||
title="{{'browse.title' | translate: | ||
{ | ||
field: 'browse.metadata.' + browseId | translate, | ||
startsWith: (startsWith)? ('browse.startsWith' | translate: { startsWith: '"' + startsWith + '"' }) : '', | ||
value: (value)? '"' + value + '"': '' | ||
} }}" | ||
[objects$]="(items$ !== undefined)? items$ : browseEntries$" | ||
[paginationConfig]="(currentPagination$ |async)" | ||
[sortConfig]="(currentSort$ |async)" | ||
[type]="startsWithType" | ||
[startsWithOptions]="startsWithOptions" | ||
(prev)="goPrev()" | ||
(next)="goNext()"> | ||
</ds-browse-by> | ||
<ds-themed-loading *ngIf="!startsWithOptions" message="{{'loading.browse-by-page' | translate}}"></ds-themed-loading> | ||
</div> | ||
</section> | ||
</div> | ||
<section class="comcol-page-browse-section"> | ||
<div class="browse-by-metadata w-100"> | ||
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100" | ||
title="{{'browse.title' | translate:{ | ||
field: 'browse.metadata.' + browseId | translate, | ||
startsWith: (startsWith)? ('browse.startsWith' | translate: { startsWith: '"' + startsWith + '"' }) : '', | ||
value: (value)? '"' + value + '"': '' | ||
} }}" | ||
[displayTitle]="displayTitle" | ||
[objects$]="(items$ !== undefined)? items$ : browseEntries$" | ||
[paginationConfig]="(currentPagination$ |async)" | ||
[sortConfig]="(currentSort$ |async)" | ||
[type]="startsWithType" | ||
[startsWithOptions]="startsWithOptions" | ||
(prev)="goPrev()" | ||
(next)="goNext()"> | ||
</ds-browse-by> | ||
<ds-themed-loading *ngIf="!startsWithOptions" | ||
message="{{'loading.browse-by-page' | translate}}"></ds-themed-loading> | ||
</div> | ||
</section> |
6 changes: 4 additions & 2 deletions
6
src/app/browse-by/browse-by-page/browse-by-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<ds-browse-by-switcher [browseByType]="browseByType$ | async"> | ||
</ds-browse-by-switcher> | ||
<div class="container"> | ||
<ds-browse-by-switcher [browseByType]="browseByType$ | async"> | ||
</ds-browse-by-switcher> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sub-com-col-section/sub-collection-list/community-page-sub-collection-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/sub-com-col-section/sub-community-list/community-page-sub-community-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/app/shared/comcol/sections/comcol-browse-by/comcol-browse-by.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<ds-browse-by-switcher [browseByType]="browseByType$ | async" | ||
[displayTitle]="false" | ||
[scope]="scope$ | async"> | ||
</ds-browse-by-switcher> |