mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-11-10 05:03:43 +01:00
fix: raised percentage
This commit is contained in:
parent
23b3be8769
commit
b48d322f02
@ -8,6 +8,6 @@
|
||||
{{ $goal := .Get "goal" }}
|
||||
{{ $raised := .Get "raised" }}
|
||||
{{ with $goal }}
|
||||
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (.) ($goal) | mul 100 | int }}%)</p>
|
||||
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div ($raised) ($goal) | mul 100 | int }}%)</p>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user