0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/templates/user/heatmap.tmpl

11 lines
509 B
Handlebars
Raw Normal View History

{{if .HeatmapData}}
<div id="user-heatmap" class="is-loading"
data-heatmap-data="{{JsonUtils.EncodeToString .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"}}"
></div>
<div class="divider"></div>
{{end}}