remove scooby references from index.html | in org tabs add a check if it is defined | stats tab fix bad-closed html comment
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@45534 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
548a37cd28
commit
ec3a51b5b4
|
@ -3,11 +3,11 @@ import {Component, Input} from '@angular/core';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'organizationsTab',
|
selector: 'organizationsTab',
|
||||||
template: `
|
template: `
|
||||||
<div *ngIf="organizations.length == 0" class = "uk-alert">
|
<div *ngIf=" !organizations || organizations.length == 0" class = "uk-alert">
|
||||||
There are no organizations
|
There are no organizations
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="organizations.length > 0">
|
<div *ngIf=" organizations && organizations.length > 0">
|
||||||
<p>
|
<p>
|
||||||
The results below are discovered through our pilot algorithms.
|
The results below are discovered through our pilot algorithms.
|
||||||
<a href="mailto:">Let us know how we are doing!</a>
|
<a href="mailto:">Let us know how we are doing!</a>
|
||||||
|
|
|
@ -78,7 +78,7 @@ import {OpenaireProperties} from '../../utils/properties/openaireProperties';
|
||||||
</datasetsTab>
|
</datasetsTab>
|
||||||
<!--statisticsTab *ngIf="tabs[0].content=='statisticsTab'"
|
<!--statisticsTab *ngIf="tabs[0].content=='statisticsTab'"
|
||||||
[statistics]="statistics" [show]=statsClicked>
|
[statistics]="statistics" [show]=statsClicked>
|
||||||
</statisticsTab-- >
|
</statisticsTab-->
|
||||||
<div *ngIf="tabs[0].content=='statisticsTab' && statsClicked">
|
<div *ngIf="tabs[0].content=='statisticsTab' && statsClicked">
|
||||||
<div *ngIf="searchPublicationsComponent.searchUtils.totalResults == 0 && searchDatasetsComponent.searchUtils.totalResults == 0" class = "uk-alert">
|
<div *ngIf="searchPublicationsComponent.searchUtils.totalResults == 0 && searchDatasetsComponent.searchUtils.totalResults == 0" class = "uk-alert">
|
||||||
There are no statistics
|
There are no statistics
|
||||||
|
@ -120,7 +120,7 @@ import {OpenaireProperties} from '../../utils/properties/openaireProperties';
|
||||||
[paramsForSearchLink]="paramsForSearchLink"
|
[paramsForSearchLink]="paramsForSearchLink"
|
||||||
[searchDataprovidersComponent]="searchDataprovidersComponent">
|
[searchDataprovidersComponent]="searchDataprovidersComponent">
|
||||||
</datasourcesTab>
|
</datasourcesTab>
|
||||||
<organizationsTab *ngIf="tabs[0].content=='organizationsTab'">
|
<organizationsTab *ngIf="tabs[0].content=='organizationsTab'" >
|
||||||
[organizations]="organizations"
|
[organizations]="organizations"
|
||||||
</organizationsTab>
|
</organizationsTab>
|
||||||
<relatedDatasourcesTab *ngIf="tabs[0].content=='relatedDatasourcesTab'"
|
<relatedDatasourcesTab *ngIf="tabs[0].content=='relatedDatasourcesTab'"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
||||||
<head>
|
<head>
|
||||||
<link href="http://scoobydoo.di.uoa.gr:3000" rel="canonical" />
|
<link href="http://demo.openaire.eu" rel="canonical" />
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
"@context" : "http://schema.org",
|
"@context" : "http://schema.org",
|
||||||
"@type" : "WebSite",
|
"@type" : "WebSite",
|
||||||
"name" : "OpenAIRE",
|
"name" : "OpenAIRE",
|
||||||
"url" : "http://scoobydoo.di.uoa.gr:3000"
|
"url" : "http://demo.openaire.eu"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!-- End of Google sitename markup-->
|
<!-- End of Google sitename markup-->
|
||||||
|
@ -58,10 +58,10 @@
|
||||||
{
|
{
|
||||||
"@context": "http://schema.org",
|
"@context": "http://schema.org",
|
||||||
"@type": "WebSite",
|
"@type": "WebSite",
|
||||||
"url" : "http://scoobydoo.di.uoa.gr:3000",
|
"url" : "http://demo.openaire.eu",
|
||||||
"potentialAction": {
|
"potentialAction": {
|
||||||
"@type": "SearchAction",
|
"@type": "SearchAction",
|
||||||
"target": "http://scoobydoo.di.uoa.gr:3000/search/find/?keyword={search_term_string}",
|
"target": "http://demo.openaire.eu/search/find/?keyword={search_term_string}",
|
||||||
"query-input": "required name=search_term_string"
|
"query-input": "required name=search_term_string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue