0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 14:44:33 +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
pull.tmpl Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
reactions.tmpl
sidebar.tmpl