Merge branch 'master' of code-repo.d4science.org:MaDgIK/irish-monitor

This commit is contained in:
Konstantinos Triantafyllou 2023-12-21 11:49:44 +02:00
commit 0651bd0739
2 changed files with 5 additions and 6 deletions

View File

@ -191,14 +191,13 @@
{{result.accessMode}}
</div>
</td>
<!-- TODO: make the labels dynamic-->
<td class="uk-text-xsmall">
<div class="uk-flex">
<span class="access-route-label">
<span *ngIf="result.green" class="access-route-label">
<span class="dot green"></span>
green
</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>
{{result.accessRoute}}
</span>

View File

@ -261,9 +261,9 @@ export class UploadDoisComponent extends BaseComponent implements OnInit {
doi: matchingDOI,
title: result.title.name,
accessMode: result.title.accessMode,
accessRoute:"gold", //TODO update when we have the values
green: true, //TODO update when we have the values
diamond: true, //TODO update when we have the values
accessRoute:result.oaRoutes?result.oaRoutes.oaColor:null,
green: result.oaRoutes?result.oaRoutes.green:false ,
diamond: result.oaRoutes?result.oaRoutes.isInDiamondJournal:false
};
this.results.push(showRes)
this.addStatsPerResult(showRes)