Project

General

Profile

« Previous | Next » 

Revision 60875

[Trunk | Library]:
1. myOrcidLinks.component.ts:
a. Remove comments from file.
b. Update and move on top of the page, message about green icons and when the data will be synchronized with ORCID.
c. Align "Discover research results related to you" on the right side of title.
d. [Bug fix] Set "baseUrl" with properties.myOrcidLinksPage.
2. orcid-work.component.ts: Show last update date in ORCID, on hover of Update button.
3. searchResult.component.ts: Add a missing condition (|| properties.adminToolsPortalType "community") to get ORCID putCodes for community dashboards except for Explore portal.
4. env-properties.ts: Added property "myOrcidLinksPage?: string;".
5. result-preview.component.html:
a. Add a missing condition (|| properties.adminToolsPortalType "community") to get ORCID putCodes for community dashboards except for Explore portal.
b. Hidle "result.orcidUpdateDates" from results preview (this info is moved on hover of update button).

View differences:

searchResult.component.ts
41 41
      this.previewResults.push(this.getResultPreview(result));
42 42
    }
43 43

  
44
    if(properties.adminToolsPortalType == "explore" && Session.isLoggedIn() && this.results && this.results.length > 0) {
44
    if((properties.adminToolsPortalType == "explore" || properties.adminToolsPortalType == "community")
45
      && Session.isLoggedIn() && this.results && this.results.length > 0) {
45 46
      this.orcidService.getPutCodes(this.previewResults.map(
46 47
        previewResult => {
47 48
          if(previewResult.identifiers) {

Also available in: Unified diff