diff options
author | Lauris BH <lauris@nix.lv> | 2019-11-05 07:45:48 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-05 00:45:48 -0500 |
commit | a91679c9e337c46ab3e441097236f7a4dc07938d (patch) | |
tree | e6218c8939124477eb32daa96d9c896f97b91ff2 /templates | |
parent | 8d8aecd3cfe842fa9024af0bf568063859741cd9 (diff) | |
download | gitea-a91679c9e337c46ab3e441097236f7a4dc07938d.tar.gz gitea-a91679c9e337c46ab3e441097236f7a4dc07938d.zip |
Add additional periods to activity page (#8829)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/activity.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl index 8ee5b55904..504fd32300 100644 --- a/templates/repo/activity.tmpl +++ b/templates/repo/activity.tmpl @@ -17,6 +17,9 @@ <a class="{{if eq .Period "halfweekly"}}active {{end}}item" href="{{$.RepoLink}}/activity/halfweekly">{{.i18n.Tr "repo.activity.period.halfweekly"}}</a> <a class="{{if eq .Period "weekly"}}active {{end}}item" href="{{$.RepoLink}}/activity/weekly">{{.i18n.Tr "repo.activity.period.weekly"}}</a> <a class="{{if eq .Period "monthly"}}active {{end}}item" href="{{$.RepoLink}}/activity/monthly">{{.i18n.Tr "repo.activity.period.monthly"}}</a> + <a class="{{if eq .Period "quarterly"}}active {{end}}item" href="{{$.RepoLink}}/activity/quarterly">{{.i18n.Tr "repo.activity.period.quarterly"}}</a> + <a class="{{if eq .Period "semiyearly"}}active {{end}}item" href="{{$.RepoLink}}/activity/semiyearly">{{.i18n.Tr "repo.activity.period.semiyearly"}}</a> + <a class="{{if eq .Period "yearly"}}active {{end}}item" href="{{$.RepoLink}}/activity/yearly">{{.i18n.Tr "repo.activity.period.yearly"}}</a> </div> </div> </div> |