forgejo-federation/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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
editor Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
issue Show "delete branch" button on closed pull requests (#6570) (#6601) 2019-04-20 23:50:34 +03:00
pulls Add more title attributes on shortened names (#6647) 2019-04-17 10:49:56 -04:00
release Properly escape release attachment URL (#6512) 2019-04-05 11:28:10 -04:00
settings Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
wiki Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
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 Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
create.tmpl Add more title attributes on shortened names (#6647) 2019-04-17 10:49:56 -04:00
empty.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Fix fork button (#6223) 2019-03-05 19:48:30 -05:00
home.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
migrate.tmpl Add more title attributes on shortened names (#6647) 2019-04-17 10:49:56 -04:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Add ui class to sub_menu to fix style in arc-green (#6477) 2019-04-02 08:41:19 +08:00
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 Add title attributes to all items in the repo list viewer (#6258) 2019-03-18 22:28:39 -04:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00