2020-11-19 07:00:16 +09:00
|
|
|
{{if .HeatmapData}}
|
2023-04-18 03:26:01 +09:00
|
|
|
<div id="user-heatmap"
|
|
|
|
data-heatmap-data="{{Json .HeatmapData}}"
|
|
|
|
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 15:49:54 +09:00
|
|
|
<div slot="loading">
|
2022-06-28 05:58:46 +09:00
|
|
|
<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.locale.Tr "user.heatmap.loading"}}</div>
|
2020-03-30 15:49:54 +09:00
|
|
|
</div>
|
2020-11-19 07:00:16 +09:00
|
|
|
</div>
|
|
|
|
<div class="ui divider"></div>
|
|
|
|
{{end}}
|