2020-11-19 01:00:16 +03:00
|
|
|
{{if .HeatmapData}}
|
2023-04-17 21:26:01 +03:00
|
|
|
<div id="user-heatmap"
|
2023-04-29 15:02:29 +03:00
|
|
|
data-heatmap-data="{{JsonUtils.EncodeToString .HeatmapData}}"
|
2023-04-17 21:26:01 +03:00
|
|
|
data-locale-total-contributions="{{$.locale.Tr "heatmap.number_of_contributions_in_the_last_12_months" ($.locale.PrettyNumber .HeatmapTotalContributions)}}"
|
|
|
|
data-locale-no-contributions="{{.locale.Tr "heatmap.no_contributions"}}"
|
|
|
|
data-locale-more="{{.locale.Tr "heatmap.more"}}"
|
|
|
|
data-locale-less="{{.locale.Tr "heatmap.less"}}"
|
|
|
|
>
|
2020-03-30 09:49:54 +03:00
|
|
|
<div slot="loading">
|
2022-06-27 23:58:46 +03:00
|
|
|
<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.locale.Tr "user.heatmap.loading"}}</div>
|
2020-03-30 09:49:54 +03:00
|
|
|
</div>
|
2020-11-19 01:00:16 +03:00
|
|
|
</div>
|
2023-06-29 15:24:22 +03:00
|
|
|
<div class="divider"></div>
|
2020-11-19 01:00:16 +03:00
|
|
|
{{end}}
|