fix mismatching percentages in representative health tooltip
This commit is contained in:
parent
cd6d388e60
commit
ab75f92704
1 changed files with 2 additions and 2 deletions
|
|
@ -55,10 +55,10 @@
|
|||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-has-announced-plans-to-permanently-shutdown' | transloco }}
|
||||
</p>
|
||||
<p class="uk-text-danger" *ngIf="rep.status.veryHighWeight">
|
||||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-has-a-very-high-voting-weight' | transloco: { percent: 5 } }}
|
||||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-has-a-very-high-voting-weight' | transloco: { percent: 3 } }}
|
||||
</p>
|
||||
<p class="uk-text-warning" *ngIf="rep.status.highWeight">
|
||||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-has-a-high-voting-weight' | transloco: { percent: 3 } }}
|
||||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-has-a-high-voting-weight' | transloco: { percent: 2 } }}
|
||||
</p>
|
||||
<p class="uk-text-danger" *ngIf="rep.status.veryLowUptime && rep.status.uptime > 0">
|
||||
<span uk-icon="icon: warning;"></span>{{ 'change-rep-widget.this-representative-is-often-offline' | transloco: { percent: rep.status.uptime.toFixed(1) } }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue