0">
@@ -104,12 +104,16 @@ import {properties} from "../../../../environments/environment";
})
export class ShowSubjectsComponent {
+ @Input() isMobile: boolean = false;
@Input() subjects: string[];
@Input() otherSubjects: Map
;
@Input() classifiedSubjects: Map;
@Input() eoscSubjects: any[];
isLarge: boolean = false;
isClassifiedLarge: boolean = false;
+ @Input() viewAllSubjects: boolean = false;
+ @Input() viewAllClassifiedSubjects: boolean = false;
+ @Output() viewAllClicked = new EventEmitter();
properties = properties;
specialSubjects = [];
@ViewChildren("content", { read: ElementRef }) content: QueryList;
@@ -206,4 +210,28 @@ export class ShowSubjectsComponent {
this.subjectsByVocabularyModal.alertTitle = "Subjects by Vocabulary";
this.subjectsByVocabularyModal.open();
}
+
+ public viewAllSubjectsClicked() {
+ if(this.isMobile) {
+ this.viewAllSubjects = true;
+ this.viewAllClicked.emit({
+ subtitle: 'Subjects',
+ id: 'subjects'
+ });
+ } else {
+ this.openSubjectsModal();
+ }
+ }
+
+ public viewAllSubjectsByVocabularyClicked() {
+ if(this.isMobile) {
+ this.viewAllClassifiedSubjects = true;
+ this.viewAllClicked.emit({
+ subtitle: 'Subjects by Vocabulary',
+ id: 'classifiedSubjects'
+ });
+ } else {
+ this.openSubjectsByVocabularyModal();
+ }
+ }
}
diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html
index d79b1cf8..7c8a76f2 100644
--- a/landingPages/result/resultLanding.component.html
+++ b/landingPages/result/resultLanding.component.html
@@ -1,6 +1,6 @@
-
+
@@ -303,89 +303,10 @@
-
-
-
- No summary information available
-
-
-
-
-
-
0" class="uk-margin-medium-bottom">
-
- {{(resultLandingInfo.countries.length === 1) ? 'Country ' : 'Countries '}}
-
-
- {{resultLandingInfo.countries.join(", ")}}
-
-
-
-
-
-
-
-
0"
- class="uk-margin-medium-bottom uk-width-2-3@m">
-
Related {{openaireEntities.ORGANIZATIONS}}
-
-
thresholdOrganizations && !lessBtnOrganizations"
- class="uk-text-center">
-
- View all
-
-
-
-
-
-
+
0">
-
-
pageSize" [type]="'references'"
- [page]="referencesPage" [pageSize]="pageSize"
- [totalResults]="resultLandingInfo.references.length">
-
-
-
pageSize"
- (pageChange)="updateReferencesPage($event)"
- [currentPage]="referencesPage" [size]="pageSize"
- [totalResults]="resultLandingInfo.references.length">
-
-
+
0">