forgejo/templates/repo
Mario Lubenka 55a8e12d85 Number of commits ahead/behind in branch overview (#6695)
* Call Git API to determine divergence of a branch and its base branch

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show commit divergance in branch list

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds test for diverging commits

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Try comparing commits instead of branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes test as CI can't run it

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts signature of percentage function to allow providing multiple integers as numerator

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves CountDivergingCommits function into repofiles module

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-05-05 19:25:25 +03:00
..
branch Number of commits ahead/behind in branch overview (#6695) 2019-05-05 19:25:25 +03:00
diff
editor
issue Show "delete branch" button on closed pull requests (#6570) (#6601) 2019-04-20 23:50:34 +03:00
pulls
release
settings
wiki
activity.tmpl Improve localization of git activity stats (#6848) 2019-05-04 23:32:37 +03:00
blame.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
branch_dropdown.tmpl
commit_status.tmpl
commits.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
migrate.tmpl
search.tmpl
sub_menu.tmpl
user_cards.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
view_file.tmpl Order file actions equal to GitHub (#6706) 2019-04-24 12:53:57 +08:00
view_list.tmpl
watchers.tmpl