Revision 60916
Added by Argiro Kokogiannaki about 3 years ago
connectHelper.ts | ||
---|---|---|
4 | 4 |
export class ConnectHelper { |
5 | 5 |
|
6 | 6 |
public static getCommunityFromDomain(domain: string): string{ |
7 |
domain = "beta.covid-19.openaire.eu"; //for testing |
|
7 |
if(properties.environment == "development") { |
|
8 |
domain = "beta.enermaps.openaire.eu"; //for testing |
|
9 |
} |
|
8 | 10 |
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix |
9 | 11 |
if (domain.indexOf('openaire.eu') === -1) { |
10 | 12 |
return null; |
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