Revision 60916
Added by Argiro Kokogiannaki about 3 years ago
displayClaims.component.ts | ||
---|---|---|
30 | 30 |
}) |
31 | 31 |
export class DisplayClaimsComponent { |
32 | 32 |
@Input() piwikSiteId = null; |
33 |
@Input() title: string = "";
|
|
33 |
@Input() pageTitle: string = "";
|
|
34 | 34 |
properties: EnvProperties; |
35 | 35 |
public searchTermStream = new Subject<string>(); |
36 | 36 |
subscriptions: any = []; |
... | ... | |
113 | 113 |
this.sortOptions.push( {label:"User (asc) ", value:{ sort: "user",descending:false }}) |
114 | 114 |
} |
115 | 115 |
var description = "Openaire, linking, claim, publication, research data, software, other research product, project, community"; |
116 |
this.updateTitle(this.title);
|
|
116 |
this.updateTitle(this.pageTitle);
|
|
117 | 117 |
this.updateDescription(description); |
118 | 118 |
this.updateUrl(this.url); |
119 | 119 |
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) { |
120 |
this.subscriptions.push(this._piwikService.trackView(this.properties, this.title, this.piwikSiteId).subscribe());
|
|
120 |
this.subscriptions.push(this._piwikService.trackView(this.properties, this.pageTitle, this.piwikSiteId).subscribe());
|
|
121 | 121 |
} |
122 | 122 |
|
123 | 123 |
this.subscriptions.push(this.helper.getPageHelpContents(this.properties, this.communityId, this._router.url).subscribe(contents => { |
Also available in: Unified diff
[Library|Trunk]
- display claims:
rename property title to pageTitle
> avoid confusion with HTML tooltip
Search research results service - add check for year in most recent resultsadd tooltip for claim status
- Bottom component: update newsletter url
- Customization: initialize the colors with ligher versions for light background and form