Project

General

Profile

« Previous | Next » 

Revision 59521

[Trunk | Graph]: app/contact/ & assets/graph-assets/contact/: Add support (contact) page and assets.

View differences:

contact.component.ts
8 8
import {HelperFunctions} from '../openaireLibrary/utils/HelperFunctions.class';
9 9
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
10 10
import {properties} from '../../environments/environment';
11
import {FAQ} from "../openaireLibrary/utils/entities/FAQ";
11 12

  
12 13
@Component({
13 14
  selector: 'contact',
......
19 20
  public showLoading = true;
20 21
  public errorMessage = '';
21 22
  public email: Email;
23
  public faqs: FAQ[] = [];
22 24
  public properties: EnvProperties = properties;
23 25
  
24 26
  public contactForm: FormGroup;
......
29 31
              private emailService: EmailService,
30 32
              private title: Title,
31 33
              private fb: FormBuilder) {
34
    this.setFaqs();
32 35
  }
33 36
  
34 37
  ngOnInit() {
35
    this.title.setTitle('OpenAIRE - UsageCounts | Contact Us');
38
    this.title.setTitle('OpenAIRE - Research Graph | Contact Us');
36 39
    this.email = {body: '', subject: '', recipients: []};
37 40
    this.reset();
38 41
    this.showLoading = false;
......
101 104
  public goToHome() {
102 105
    this.router.navigate(['/']);
103 106
  }
107

  
108
  private setFaqs() {
109
    this.faqs.push({
110
      "question": "What are \"trusted\" sources?",
111
      "answer": "OpenAIRE data sources are considered \"trusted\" when researchers rely on them to share, discover, monitor, and assess their scientific products. " +
112
        "Known sources collected by OpenAIRE are institutional repositories (e.g. university archives, libraries), catch-all repositories (e.g. Zenodo, Figshare, Dryad, B2Share, etc.), " +
113
        "data repositories (e.g. Pangaea, GESIS, bio sources), thematic repositories (e.g. ArXiv, EuropePMC, RePec, etc.), " +
114
        "Open Access publishers (e.g. F1000, OpenEdition, etc.), knowledge graphs (e.g. Microsoft Academic Graph, OpenCitations), " +
115
        "registries (e.g. CrossRef, DataCite, ORCID, GRID.ac, OpenDOAR, re3data.org, etc), aggregators " +
116
        "(e.g. Unpaywall, BASE, Scielo, DOAJ, CORE-UK, etc.), funders (e.g. European Commission, NSF, Wellcome Trust, etc.)."
117
    });
118

  
119
    this.faqs.push({
120
      "question": "What do you mean with “transparent graph”?",
121
      "answer": "The OpenAIRE Research Graph is transparent because it keeps tracks of the provenance of each and every information it contains. " +
122
        "For each field you can know if they have been collected from one of our sources, if it has been inferred (and with which algorithm and with which confidence level)"
123
    });
124
  }
104 125
}

Also available in: Unified diff