mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05: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)
14 lines
679 B
Go HTML Template
14 lines
679 B
Go HTML Template
<div class="ui fluid vertical menu">
|
|
<a class="{{if .PageIsPulse}}active {{end}}item" href="{{.RepoLink}}/activity">
|
|
{{ctx.Locale.Tr "repo.activity.navbar.pulse"}}
|
|
</a>
|
|
<a class="{{if .PageIsContributors}}active {{end}}item" href="{{.RepoLink}}/activity/contributors">
|
|
{{ctx.Locale.Tr "repo.activity.navbar.contributors"}}
|
|
</a>
|
|
<a class="{{if .PageIsCodeFrequency}}active{{end}} item" href="{{.RepoLink}}/activity/code-frequency">
|
|
{{ctx.Locale.Tr "repo.activity.navbar.code_frequency"}}
|
|
</a>
|
|
<a class="{{if .PageIsRecentCommits}}active{{end}} item" href="{{.RepoLink}}/activity/recent-commits">
|
|
{{ctx.Locale.Tr "repo.activity.navbar.recent_commits"}}
|
|
</a>
|
|
</div>
|