[Trunk | Library]:

1. showAuthors.component.ts: In popup for authors with ORCID information, added the green or black icon next to the explanatory message.
2. orcid-work.component.ts: [Bug fix] There was a class "uk-padding-removeremove" in #grantModal - change it to "uk-padding-remove".
3. searchMyOrcidResults.component.html: Added paging at the bottom of the page too (after the results).
4. myOrcidLinks.component.ts: 
	a. Added a "Need help? Read more" link on the right side, above the paging, to the openaire blog article for the ORCID search & link functionality.
	b. Added "uk-margin-large-top" for alerts and messages, when no results are shown.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60836 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2021-04-12 10:02:56 +00:00
parent 7d8aed7e13
commit 46869b4afe
4 changed files with 26 additions and 8 deletions

View File

@ -36,19 +36,28 @@ declare var UIkit: any;
<div class="uk-article-title custom-article-title">
My ORCID links
</div>
<div *ngIf="authorNameParam" class="uk-margin-top">
<a class="uk-button-text" [queryParams]="authorNameParam" [routerLink]="properties.searchLinkToAdvancedResults" routerLinkActive="router-link-active">
Discover research results related to you
</a>
<div class="uk-margin-top">
<span *ngIf="authorNameParam">
<a class="uk-button-text" [queryParams]="authorNameParam"
[routerLink]="properties.searchLinkToAdvancedResults" routerLinkActive="router-link-active">
Discover research results related to you
</a>
</span>
<span class="uk-align-right@m uk-margin-remove">
Need help?
<a href="https://www.openaire.eu/openaire-explore-integration-with-the-orcid-search-and-link-wizard" target="_blank">
Read more <span class="custom-external custom-icon space"></span>
</a>
</span>
</div>
<div *ngIf="showErrorMessage" class="uk-animation-fade uk-alert uk-alert-warning" role="alert">
<div *ngIf="showErrorMessage" class="uk-animation-fade uk-alert uk-alert-warning uk-margin-large-top" role="alert">
An Error Occurred
</div>
<div *ngIf="!showLoading && !orcidQuery && !requestGrant && !showErrorMessage"
class="uk-animation-fade uk-alert uk-alert-primary" role="alert">
class="uk-animation-fade uk-alert uk-alert-primary uk-margin-large-top" role="alert">
No ORCID links found
</div>
<div *ngIf="requestGrant" class="">
<div *ngIf="requestGrant" class="uk-margin-large-top">
<div class="uk-text-center uk-padding-small">
<div>
This is a private page, only for users that have connected their ORCID iD with OpenAIRE.

View File

@ -31,4 +31,10 @@
</div>
</li>
</ul>
<no-load-paging *ngIf="totalResults > 0" [type]="'research outcomes'"
(pageChange)="pageChanged($event)"
[page]="currentPage" [pageSize]="resultsPerPage"
[totalResults]="totalResults">
</no-load-paging>
</div>

View File

@ -115,7 +115,7 @@ declare var UIkit: any;
</ng-container>
<modal-alert #grantModal [classTitle]="'landing-modal-header uk-padding-small'"
[classBody]="'landing-modal uk-padding-removeremove'">
[classBody]="'landing-modal uk-padding-remove'">
<div class="uk-text-center uk-padding-small">
<div>{{requestGrantMessage}}</div>

View File

@ -34,6 +34,9 @@ import {properties} from "../../../../environments/environment";
<div class="uk-text-muted uk-margin-small-bottom uk-margin-small-top">ORCID</div>
<div class="uk-text-muted uk-text-small uk-margin-small-top uk-margin-small-bottom">
<img *ngIf="author.orcid" src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="">{{" "}}
<img *ngIf="!author.orcid && author.orcid_pending" src="assets/common-assets/common/ORCIDiD_iconbw16x16.png" alt="">{{" "}}
<i *ngIf="author.orcid">Harvested from ORCID Public Data File</i>
<i *ngIf="!author.orcid && author.orcid_pending">Derived by OpenAIRE algorithms or harvested from 3d party repositories</i>
</div>