templates/repo: only show Git stats in repository home page (#3518)

Move 'Commits' and 'Releases' tabs down to body.

This patch also reduces page load time for pages that do not need
to use commits count anywhere. Get commits count can hurt
performance badly for huge repositories that has tens of thousands
commits like Linux Kernel.
This commit is contained in:
Unknwon
2017-03-10 15:13:48 -05:00
parent 451aef7a1c
commit ebc0943713
12 changed files with 75 additions and 38 deletions

File diff suppressed because one or more lines are too long