forgejo/templates/repo
Chri-s a2a49c93c7 Added checks for protected branches in pull requests (#3544)
* Added checks for protected branches in pull requests

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Moved check for protected branch into new function CheckUserAllowedToMerge

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Removed merge conflict lines from last commit

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Explicit check for error type in ViewIssue

Signed-off-by: Christian Wulff <NChris@posteo.net>
2018-03-13 11:46:14 +08:00
..
branch feat: Add branch link in branch list. (#3576) 2018-02-24 23:17:59 +02:00
diff Responsive view (#2750) 2017-12-30 18:47:52 -06:00
editor Make URL scheme unambiguous (#2408) 2017-10-30 10:04:25 +08:00
issue Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
pulls Responsive view (#2750) 2017-12-30 18:47:52 -06:00
release fix source download link when no code unit allowed (#3166) 2017-12-12 08:45:02 +02:00
settings Add string to confirm wiki data erasure (#3629) 2018-03-06 15:25:21 +08:00
wiki Fix escaping changed title in comments (#3530) 2018-02-18 22:06:37 +02:00
activity.tmpl Add issue closed time column to fix activity closed issues list (#3537) 2018-02-19 10:39:26 +08:00
bare.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
branch_dropdown.tmpl Adjust branch button size (#3063) 2017-12-02 19:57:51 +02:00
commit_status.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
create.tmpl Dropped link to Gogs docs from template 2016-11-07 14:49:25 +01: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 Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
home.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
migrate.tmpl Add notice that LFS mirroring is not supported (#1251) 2017-03-16 19:33:22 +08:00
search.tmpl Escape search query (#3486) 2018-02-11 15:42:28 +02:00
sub_menu.tmpl Minor copy changes (#3074) 2017-12-03 22:52:30 +02:00
user_cards.tmpl Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
view_file.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
view_list.tmpl Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
watchers.tmpl