summaryrefslogtreecommitdiffstats
path: root/templates/user/heatmap.tmpl
blob: 5d42a5435bb7b05f1c99ec7398d15b08912ebeb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{if .HeatmapData}}
	<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"}}"
	>
		<div slot="loading">
			<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.locale.Tr "user.heatmap.loading"}}</div>
		</div>
	</div>
	<div class="ui divider"></div>
{{end}}