mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-12-23 03:59:21 +00:00
13 lines
No EOL
365 B
HTML
13 lines
No EOL
365 B
HTML
<div class="proposal">
|
|
<p>
|
|
<a href='{{ .Get "link" }}' target="_blank">
|
|
{{ trim .Inner "<p></p>\n\r" }}
|
|
</a><span>by {{ .Get "author" }}.</span>
|
|
</p>
|
|
|
|
{{ $goal := .Get "goal" }}
|
|
{{ $raised := .Get "raised" }}
|
|
{{ with .Get "raised" }}
|
|
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (.) ($goal) | mul 100 | int }}%)</p>
|
|
{{ end }}
|
|
</div> |