0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-20 00:34:10 +01:00
gitea/templates/repo/issue/view_content
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
..
add_reaction.tmpl
comments.tmpl Fix escaping changed title in comments (#3530) 2018-02-18 22:06:37 +02:00
pull.tmpl Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
reactions.tmpl
sidebar.tmpl Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00