0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-25 10:46:07 +01:00
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR ()
* 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 
2018-08-20 07:04:01 +02:00
..
2018-03-13 10:03:55 +08:00