Project

General

Profile

« Previous | Next » 

Revision 58853

Working on the new version of the oso - almost done with tha data part of the pages

View differences:

countries-table.component.html
57 57
      <td class="uk-text-center">
58 58
        <ng-container *ngIf="countryOverview.repositories===null">--</ng-container>
59 59
        <ng-container *ngIf="countryOverview.repositories!=null">
60
          {{countryOverview.repositories | number}}<ng-container *ngIf="isPercentage">%</ng-container>
60
          <ng-container *ngIf="isPercentage">{{countryOverview.repositories | number :'1.0-1'}}%</ng-container>
61
          <ng-container *ngIf="!isPercentage">{{countryOverview.repositories | number}}</ng-container>
61 62
        </ng-container>
62 63
      </td>
63 64
      <td class="uk-text-center">
64 65
        <ng-container *ngIf="countryOverview.journals===null">--</ng-container>
65 66
        <ng-container *ngIf="countryOverview.journals!=null">
66
          {{countryOverview.journals | number}}<ng-container *ngIf="isPercentage">%</ng-container>
67
          <ng-container *ngIf="isPercentage">{{countryOverview.journals | number :'1.0-1'}}%</ng-container>
68
          <ng-container *ngIf="!isPercentage">{{countryOverview.journals | number}}</ng-container>
67 69
        </ng-container>
68 70
      </td>
69 71
      <!--<td class="uk-text-center">-->
......
73 75
      <td class="uk-text-center">
74 76
        <ng-container *ngIf="countryOverview.publications===null">--</ng-container>
75 77
        <ng-container *ngIf="countryOverview.publications!=null">
76
          {{countryOverview.publications | number}}<ng-container *ngIf="isPercentage">%</ng-container>
78
          <ng-container *ngIf="isPercentage">{{countryOverview.publications | number :'1.0-1'}}%</ng-container>
79
          <ng-container *ngIf="!isPercentage">{{countryOverview.publications | number}}</ng-container>
77 80
          <!--<span style="display: inline-block; float: right; padding-right: 10px;">-->
78 81
          <!--<span style="float:left; padding-right: 5px;">{{countryOverview.publications.percentage | number}}% </span>-->
79 82
          <!--<ng-container *ngIf="countryOverview.publications?.percentage !=null">-->
......
87 90
      <td class="uk-text-center">
88 91
        <ng-container *ngIf="countryOverview.datasets===null">--</ng-container>
89 92
        <ng-container *ngIf="countryOverview.datasets!=null">
90
          {{countryOverview.datasets | number}}<ng-container *ngIf="isPercentage">%</ng-container>
93
          <ng-container *ngIf="isPercentage">{{countryOverview.datasets | number :'1.0-1'}}%</ng-container>
94
          <ng-container *ngIf="!isPercentage">{{countryOverview.datasets | number}}</ng-container>
91 95
        </ng-container>
92 96
      </td>
93 97
      <td class="uk-text-center">
94 98
        <ng-container *ngIf="countryOverview.software===null">--</ng-container>
95 99
        <ng-container *ngIf="countryOverview.software!=null">
96
          {{countryOverview.software | number}}<ng-container *ngIf="isPercentage">%</ng-container>
100
          <ng-container *ngIf="isPercentage">{{countryOverview.software | number :'1.0-1'}}%</ng-container>
101
          <ng-container *ngIf="!isPercentage">{{countryOverview.software | number}}</ng-container>
97 102
        </ng-container>
98 103
      </td>
99 104
      <td class="uk-text-center">
100 105
        <ng-container *ngIf="countryOverview.other===null">--</ng-container>
101 106
        <ng-container *ngIf="countryOverview.other!=null">
102
          {{countryOverview.other | number}}<ng-container *ngIf="isPercentage">%</ng-container>
107
          <ng-container *ngIf="isPercentage">{{countryOverview.other | number :'1.0-1'}}%</ng-container>
108
          <ng-container *ngIf="!isPercentage">{{countryOverview.other | number}}</ng-container>
103 109
        </ng-container>
104 110
      </td>
105 111
    </tr>

Also available in: Unified diff