mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-12-22 11:39:33 +00:00
26 lines
No EOL
953 B
HTML
26 lines
No EOL
953 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 $goal }}
|
|
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (mul $raised 1.0) (mul $goal 1.0) | mul 100 | int }}%)</p>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<!-- Display a message at the end of the list, denoted by the "last" parameter -->
|
|
{{ with .Get "last" }}
|
|
{{ with $goal }}
|
|
<p>Find more <a href="https://ccs.getmonero.org/funding-required/" target="_blank">here</a>.
|
|
{{ else }}
|
|
<p>Find more <a href="https://ccs.getmonero.org/ideas/" target="_blank">here</a>. Posting comments in favor of, or against proposals is encouraged.</p>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ with .Get "more" }}
|
|
<p>Find more proposals currently in need of funding <a target="_blank" href="https://ccs.getmonero.org/funding-required/">here</a>.</p>
|
|
{{ end }} |