aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/contributors.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-06-06 10:28:33 +0800
committerGitHub <noreply@github.com>2024-06-06 10:28:33 +0800
commite728fd741be7848d476663eec1c9caaf34b46e61 (patch)
tree2db16227e81a7d1eda954856825ce02ad720126e /templates/repo/contributors.tmpl
parent06ebae7472aef4380602d2ecd64fdc9dddcb6037 (diff)
downloadgitea-e728fd741be7848d476663eec1c9caaf34b46e61.tar.gz
gitea-e728fd741be7848d476663eec1c9caaf34b46e61.zip
Fix Activity Page Contributors dropdown (#31264)
Fix #31261
Diffstat (limited to 'templates/repo/contributors.tmpl')
-rw-r--r--templates/repo/contributors.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/contributors.tmpl b/templates/repo/contributors.tmpl
index 54e3e426a2..6b8a63fe99 100644
--- a/templates/repo/contributors.tmpl
+++ b/templates/repo/contributors.tmpl
@@ -1,5 +1,6 @@
{{if .Permission.CanRead ctx.Consts.RepoUnitTypeCode}}
<div id="repo-contributors-chart"
+ data-repo-link="{{.RepoLink}}"
data-locale-filter-label="{{ctx.Locale.Tr "repo.contributors.contribution_type.filter_label"}}"
data-locale-contribution-type-commits="{{ctx.Locale.Tr "repo.contributors.contribution_type.commits"}}"
data-locale-contribution-type-additions="{{ctx.Locale.Tr "repo.contributors.contribution_type.additions"}}"