Merge branch 'master' of code-repo.d4science.org:MaDgIK/irish-monitor
This commit is contained in:
commit
0651bd0739
|
@ -191,14 +191,13 @@
|
||||||
{{result.accessMode}}
|
{{result.accessMode}}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<!-- TODO: make the labels dynamic-->
|
|
||||||
<td class="uk-text-xsmall">
|
<td class="uk-text-xsmall">
|
||||||
<div class="uk-flex">
|
<div class="uk-flex">
|
||||||
<span class="access-route-label">
|
<span *ngIf="result.green" class="access-route-label">
|
||||||
<span class="dot green"></span>
|
<span class="dot green"></span>
|
||||||
green
|
green
|
||||||
</span>
|
</span>
|
||||||
<span class="access-route-label uk-margin-xsmall-left">
|
<span *ngIf="result.accessRoute" class="access-route-label uk-margin-xsmall-left">
|
||||||
<span class="dot {{result.accessRoute}}"></span>
|
<span class="dot {{result.accessRoute}}"></span>
|
||||||
{{result.accessRoute}}
|
{{result.accessRoute}}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -261,9 +261,9 @@ export class UploadDoisComponent extends BaseComponent implements OnInit {
|
||||||
doi: matchingDOI,
|
doi: matchingDOI,
|
||||||
title: result.title.name,
|
title: result.title.name,
|
||||||
accessMode: result.title.accessMode,
|
accessMode: result.title.accessMode,
|
||||||
accessRoute:"gold", //TODO update when we have the values
|
accessRoute:result.oaRoutes?result.oaRoutes.oaColor:null,
|
||||||
green: true, //TODO update when we have the values
|
green: result.oaRoutes?result.oaRoutes.green:false ,
|
||||||
diamond: true, //TODO update when we have the values
|
diamond: result.oaRoutes?result.oaRoutes.isInDiamondJournal:false
|
||||||
};
|
};
|
||||||
this.results.push(showRes)
|
this.results.push(showRes)
|
||||||
this.addStatsPerResult(showRes)
|
this.addStatsPerResult(showRes)
|
||||||
|
|
Loading…
Reference in New Issue