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:
argiro.kokogiannaki 2017-01-23 12:16:38 +00:00
parent 548a37cd28
commit ec3a51b5b4
3 changed files with 8 additions and 8 deletions

View File

@ -3,11 +3,11 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'organizationsTab',
template: `
<div *ngIf="organizations.length == 0" class = "uk-alert">
<div *ngIf=" !organizations || organizations.length == 0" class = "uk-alert">
There are no organizations
</div>
<div *ngIf="organizations.length > 0">
<div *ngIf=" organizations && organizations.length > 0">
<p>
The results below are discovered through our pilot algorithms.
<a href="mailto:">Let us know how we are doing!</a>

View File

@ -78,7 +78,7 @@ import {OpenaireProperties} from '../../utils/properties/openaireProperties';
</datasetsTab>
<!--statisticsTab *ngIf="tabs[0].content=='statisticsTab'"
[statistics]="statistics" [show]=statsClicked>
</statisticsTab-- >
</statisticsTab-->
<div *ngIf="tabs[0].content=='statisticsTab' && statsClicked">
<div *ngIf="searchPublicationsComponent.searchUtils.totalResults == 0 && searchDatasetsComponent.searchUtils.totalResults == 0" class = "uk-alert">
There are no statistics
@ -120,7 +120,7 @@ import {OpenaireProperties} from '../../utils/properties/openaireProperties';
[paramsForSearchLink]="paramsForSearchLink"
[searchDataprovidersComponent]="searchDataprovidersComponent">
</datasourcesTab>
<organizationsTab *ngIf="tabs[0].content=='organizationsTab'">
<organizationsTab *ngIf="tabs[0].content=='organizationsTab'" >
[organizations]="organizations"
</organizationsTab>
<relatedDatasourcesTab *ngIf="tabs[0].content=='relatedDatasourcesTab'"

View File

@ -1,7 +1,7 @@
<!doctype html>
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
<head>
<link href="http://scoobydoo.di.uoa.gr:3000" rel="canonical" />
<link href="http://demo.openaire.eu" rel="canonical" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -49,7 +49,7 @@
"@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "OpenAIRE",
"url" : "http://scoobydoo.di.uoa.gr:3000"
"url" : "http://demo.openaire.eu"
}
</script>
<!-- End of Google sitename markup-->
@ -58,10 +58,10 @@
{
"@context": "http://schema.org",
"@type": "WebSite",
"url" : "http://scoobydoo.di.uoa.gr:3000",
"url" : "http://demo.openaire.eu",
"potentialAction": {
"@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"
}
}