forgejo/templates/repo/issue
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
..
view_content Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
branch_selector_field.tmpl
comment_tab.tmpl
label_precolors.tmpl
labels.tmpl Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
list.tmpl Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
milestone_new.tmpl
milestones.tmpl
navbar.tmpl
new.tmpl
new_form.tmpl
search.tmpl
view.tmpl
view_content.tmpl
view_title.tmpl