2020-11-18 23:00:16 +01:00
|
|
|
{{if .HeatmapData}}
|
2023-08-25 18:03:14 +02:00
|
|
|
<div id="user-heatmap" class="is-loading"
|
2023-04-29 14:02:29 +02:00
|
|
|
data-heatmap-data="{{JsonUtils.EncodeToString .HeatmapData}}"
|
2023-09-25 14:42:40 +02:00
|
|
|
data-locale-total-contributions="{{ctx.Locale.Tr "heatmap.number_of_contributions_in_the_last_12_months" (ctx.Locale.PrettyNumber .HeatmapTotalContributions)}}"
|
2024-03-19 10:37:03 +01:00
|
|
|
data-locale-contributions-zero="{{ctx.Locale.Tr "heatmap.contributions_zero"}}"
|
|
|
|
data-locale-contributions-format="{{ctx.Locale.Tr "heatmap.contributions_format"}}"
|
|
|
|
data-locale-contributions-one="{{ctx.Locale.Tr "heatmap.contributions_one"}}"
|
|
|
|
data-locale-contributions-few="{{ctx.Locale.Tr "heatmap.contributions_few"}}"
|
2023-09-25 10:56:50 +02:00
|
|
|
data-locale-more="{{ctx.Locale.Tr "heatmap.more"}}"
|
|
|
|
data-locale-less="{{ctx.Locale.Tr "heatmap.less"}}"
|
2023-08-25 18:03:14 +02:00
|
|
|
></div>
|
2023-06-29 14:24:22 +02:00
|
|
|
<div class="divider"></div>
|
2020-11-18 23:00:16 +01:00
|
|
|
{{end}}
|