mirror of
https://github.com/go-gitea/gitea
synced 2025-08-24 10:28:27 +00:00
Split dashboard elements into separate template files (#10885)
* Split dashboard elements into separate template files No code change just Move Heatmap and Repo list/search into separate template files (like feeds and navbar already are). This will let a user more easily replace dashboard.tmpl without regularly becoming out of sync with fixes or changes to the actual code. Fixes #10870 * End file with an empty line Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
8
templates/user/dashboard/heatmap.tmpl
Normal file
8
templates/user/dashboard/heatmap.tmpl
Normal file
@@ -0,0 +1,8 @@
|
||||
<div id="user-heatmap" style="padding-right: 40px">
|
||||
<activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser">
|
||||
<div slot="loading">
|
||||
<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div>
|
||||
</div>
|
||||
</activity-heatmap>
|
||||
<div class="ui divider"></div>
|
||||
</div>
|
Reference in New Issue
Block a user