Merge pull request #12 from recanman/main

feat: add specific  message to last ccs item
This commit is contained in:
rottenwheel 2024-09-01 01:33:09 +00:00 committed by GitHub
commit 57c6732cff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,3 +11,12 @@
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (mul $raised 1.0) (mul $goal 1.0) | mul 100 | int }}%)</p> <p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (mul $raised 1.0) (mul $goal 1.0) | mul 100 | int }}%)</p>
{{ end }} {{ end }}
</div> </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 }}