Archived
1
0
Fork 0
This repository has been archived on 2024-12-18. You can view files and clone it, but cannot push or open issues or pull requests.
flexassistant/templates/block.tmpl
Julien Riou 632da28954
feat: Add notification templates (#2)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:09:59 +02:00

6 lines
No EOL
338 B
Cheetah

🎉 *{{ convertAction .Pool.Coin }}* [#{{ .Block.Number }}]({{ formatBlockURL .Pool.Coin .Block.Hash }}) _
{{- if (eq .Pool.Coin "xch") -}}
{{ printf "%.2f" (convertCurrency .Pool.Coin .Block.Reward) }}
{{- else -}}
{{ printf "%.6f" (convertCurrency .Pool.Coin .Block.Reward) }}
{{- end }} {{ upper .Pool.Coin }}_