Project

General

Profile

« Previous | Next » 

Revision 57485

[Trunk | Library]: Deposit Pages:
1. utils/properties/searchFields.ts: in 'DEPOSIT_DATASOURCE_KEYWORD_FIELDS' use field 'datasourcetypeuiname' instead of 'datasourcetypename' and use field 'datasourcesubject' with 'all' operator.
2. services/searchDataproviders.service.ts: [Bug fix]: Add subject only when there is some content.
3. searchPages/searchUtils/searchPage.component.ts: Add quotes in keyword for query (could cause problems with special keywords e.g. 'and and').
4. deposit/depositFirstPage.component.ts & deposit/searchDataprovidersToDeposit.component.ts: Use same placeholder in search form and add search by 'type'.
5. deposit/searchResultsInDeposit.component.html: Change 'NOT OPENAIRE COMPATIBLE' label with 'Not yet registered' and change tooltip from 'Compatibility' to 'OpenAIRE compatibility'.

View differences:

searchResultsInDeposit.component.html
43 43

  
44 44
    <div class="uk-padding uk-padding-remove-vertical">
45 45
      <span *ngIf="result['type'] != undefined && result['type'] != ''" class="uk-label custom-label label-blue label-dataprovider" title="Type"> {{result['type']}}</span>{{' '}}
46
      <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != '' && result['compatibility'] != 'not available'" class="uk-label custom-label  label-compatibility" title="Compatibility">{{result.compatibility}}</span>{{' '}}
47
      <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != '' && result['compatibility'] == 'not available'" class="uk-label custom-label  label-danger" title="Compatibility">NOT OPENAIRE COMPATIBLE</span>{{' '}}
46
      <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != '' && result['compatibility'] != 'not available'" class="uk-label custom-label  label-compatibility" title="OpenAIRE Compatibility">{{result.compatibility}}</span>{{' '}}
47
      <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != '' && result['compatibility'] == 'not available'" class="uk-label custom-label  label-danger" title="OpenAIRE Compatibility">Not yet registered</span>{{' '}}
48 48

  
49 49
      <div class="uk-margin-top" *ngIf="result['countries'] && result['countries'].length > 0">
50 50
        <div class="uk-text-muted">Countries</div>

Also available in: Unified diff