1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/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 Add reactions to issues/PR and comments (#2856) 2017-12-04 01:14:26 +02:00
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 Add reactions to issues/PR and comments (#2856) 2017-12-04 01:14:26 +02:00
sidebar.tmpl Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00