[Library|Trunk]
Project Landing: avoid double message "Nosummary available" enhance project meta and jsonld description git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59375 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
c2c1ddc055
commit
78fed00f1d
|
@ -473,15 +473,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="!hasPrimaryInfo && !hasSecondaryInfo"
|
||||
<!--<div *ngIf="!hasPrimaryInfo && !hasSecondaryInfo"
|
||||
class="uk-width-expand uk-padding">
|
||||
<!-- <div *ngIf="!tabsAreInitialized" class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert">-->
|
||||
<!-- <span class="loading-gif uk-align-center" ></span>-->
|
||||
<!-- </div>-->
|
||||
<!– <div *ngIf="!tabsAreInitialized" class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert">–>
|
||||
<!– <span class="loading-gif uk-align-center" ></span>–>
|
||||
<!– </div>–>
|
||||
<div class="uk-animation-fade uk-alert uk-alert-primary" role="alert">
|
||||
No summary information available
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
<!-- </my-tab>-->
|
||||
</ng-template>
|
||||
|
|
|
@ -399,7 +399,7 @@ export class ProjectComponent {
|
|||
}
|
||||
this.seoService.createLinkForCanonicalURL(this.properties.baseLink + this._router.url);
|
||||
this.updateTitle(this.projectName);
|
||||
this.updateDescription("project, " + this.projectName + "," + this.projectInfo.funding.funderShortName + "," + this.projectInfo.acronym);
|
||||
this.updateDescription(this.projectInfo.description?this.projectInfo.description: ("project" + (this.projectInfo.title?"," + this.projectInfo.title:"") + (this.projectInfo.funding && this.projectInfo.funding.funderName?", funder: " + this.projectInfo.funding.funderName:"") + (this.projectInfo.acronym?"," + this.projectInfo.acronym:"")));
|
||||
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
|
||||
this.piwiksub = this._piwikService.trackView(this.properties, this.projectName, this.piwikSiteId).subscribe();
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ export class OpenAireJsonldConverterService {
|
|||
doc.url = URL;
|
||||
doc.id = URL;
|
||||
doc["description"] = [];
|
||||
doc["description"].push((project.title)?project.title:project.acronym);
|
||||
doc["description"].push(project.description?project.description: ("project" + (project.title?"," + project.title:"") + (project.funding && project.funding.funderName?", funder: " + project.funding.funderName:"") + (project.acronym?"," + project.acronym:"")));
|
||||
doc.sameAs =[project.url];
|
||||
return doc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue