mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 17:14:24 +00:00
428008ac19
This is the implementation of Recent Commits page. This feature was mentioned on #18262. It adds another tab to Activity page called Recent Commits. Recent Commits tab shows number of commits since last year for the repository. (cherry picked from commit d3982bcd814bac93e3cbce1c7eb749b17e413fbd)
18 lines
624 B
Go HTML Template
18 lines
624 B
Go HTML Template
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository commits">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container flex-container">
|
|
<div class="flex-container-nav">
|
|
{{template "repo/navbar" .}}
|
|
</div>
|
|
<div class="flex-container-main">
|
|
{{if .PageIsPulse}}{{template "repo/pulse" .}}{{end}}
|
|
{{if .PageIsContributors}}{{template "repo/contributors" .}}{{end}}
|
|
{{if .PageIsCodeFrequency}}{{template "repo/code_frequency" .}}{{end}}
|
|
{{if .PageIsRecentCommits}}{{template "repo/recent_commits" .}}{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|
|
|