diff options
author | Lauris BH <lauris@nix.lv> | 2020-01-20 12:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 12:07:30 +0200 |
commit | 81cfe243f9cb90b0a75de7a03bb2d264c97f0036 (patch) | |
tree | 0b98db10d626eff18384ad460ec04e2a6da61468 /templates/repo/activity.tmpl | |
parent | 7d7ab1eeae43d99fe329878ac9c8db5e45e2dee5 (diff) | |
download | gitea-81cfe243f9cb90b0a75de7a03bb2d264c97f0036.tar.gz gitea-81cfe243f9cb90b0a75de7a03bb2d264c97f0036.zip |
Add top author stats to activity page (#9615)
Diffstat (limited to 'templates/repo/activity.tmpl')
-rw-r--r-- | templates/repo/activity.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl index 6432630af4..8c3167bca7 100644 --- a/templates/repo/activity.tmpl +++ b/templates/repo/activity.tmpl @@ -108,6 +108,12 @@ {{.i18n.Tr "repo.activity.git_stats_and_deletions" }} <strong class="text red">{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.Deletions "repo.activity.git_stats_deletion_1" "repo.activity.git_stats_deletion_n") .Activity.Code.Deletions }}</strong>. </div> + <div class="ui attached segment" id="app"> + <script type="text/javascript"> + var ActivityTopAuthors = {{Json .ActivityTopAuthors | SafeJS}}; + </script> + <activity-top-authors :data="activityTopAuthors" /> + </div> </div> {{end}} {{end}} |