1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 12:13:10 +00:00
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 hide branch on pull request view or create UI (#2454) 2017-09-06 15:02:51 +03:00
comment_tab.tmpl Ctrl + Enter to submit forms (#2540) 2017-09-22 14:17:31 +08:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
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 #1146 finish new access rights for collaborators 2016-03-05 20:45:23 -05:00
milestones.tmpl Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
new_form.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
search.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
view.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
view_content.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
view_title.tmpl Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00