mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 13:22:44 +01:00
972b3bf3b0
* 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>
17 lines
483 B
Cheetah
17 lines
483 B
Cheetah
{{template "base/head" .}}
|
|
<div class="dashboard feeds">
|
|
{{template "user/dashboard/navbar" .}}
|
|
<div class="ui container">
|
|
{{template "base/alert" .}}
|
|
<div class="ui mobile reversed stackable grid">
|
|
<div class="ui container ten wide column">
|
|
{{if .EnableHeatmap}}
|
|
{{template "user/dashboard/heatmap" .}}
|
|
{{end}}
|
|
{{template "user/dashboard/feeds" .}}
|
|
</div>
|
|
{{template "user/dashboard/repolist" .}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|