gitea/templates/repo/pulls
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
2018-08-20 07:04:01 +02:00
..
commits.tmpl Fix pull request availability check 2016-03-06 23:57:46 -05:00
compare.tmpl Web editor: improve edit file 2016-08-28 04:31:42 -07:00
files.tmpl User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
fork.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
tab_menu.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00