Project

General

Profile

« Previous | Next » 

Revision 54962

[Trunk|Library]:
1. [new] #4216: Create component for 'Other Versions' (deleted by inference) in research results (currently available only in Publication Landing Page).
2. publicationInfo.ts: Add field 'deletedByInferenceIds' (will be removed later possibly).
3. env-properties.json: change environment to 'development' and search service to 'rudie' local development machine.
4. publication.component: Add 'Other Versions' tab (section).
5. tabResult.component.html: Changes in css style and sequence of details in tab results according to search results.

View differences:

tabResult.component.html
28 28
           </p>
29 29
       </h5>
30 30

  
31
       <div>
32
         <span *ngIf="result['authors'] != undefined">
33
           <span *ngFor="let author of result['authors'].slice(0,15)">
34
             {{author}};
35
           </span>
36
           <span *ngIf="result['authors'].length > 15">...</span>
37
         </span>
38
         <span *ngIf="result.year != undefined && result.year != ''">
39
           ({{result.year}})
40
         </span>
41
       </div>
42

  
43 31
       <span *ngIf="result.types && result.types.length > 0" [class]="'uk-label custom-label label-blue label-'+result.entityType" title="Type">{{result.types.join(", ")}}</span>
44 32
       <span *ngIf="result.programmingLanguages && result.programmingLanguages.length > 0" class="uk-label custom-label  label-progrLanguage " title="Programming Language">{{result.programmingLanguages.join(", ")}}</span>
45 33
       <span *ngIf="result.languages && result.languages.length > 0" class="uk-label custom-label  label-language " title="Language">{{result.languages.join(", ")}}</span>
......
57 45
       <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != ''" class="uk-label custom-label  label-compatibility" title="Compatibility">{{result.compatibility}}</span>
58 46
       <span *ngIf="result.country != undefined && result.country != ''" class="uk-label custom-label  label-country" title="Country"> {{result.country}}</span>
59 47

  
48
       <div class="uk-margin-small">
49
         <span *ngIf="result['authors'] != undefined" class="resultsAuthors uk-margin-small-top" style="font-style: italic;">
50
           <span *ngFor="let author of result['authors'].slice(0,15)">
51
             {{author}};
52
           </span>
53
           <span *ngIf="result['authors'].length > 15">...</span>
54
         </span>
55
         <span *ngIf="result.year != undefined && result.year != ''">
56
           ({{result.year}})
57
         </span>
58
       </div>
59

  
60 60
       <div *ngIf="result['projects'] != undefined">
61 61
         <span> Project: </span>
62 62
         <span *ngFor="let project of result['projects'].slice(0,15) let i=index">

Also available in: Unified diff