gitea/templates/repo
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
..
branch
diff User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
editor
issue
pulls User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
release
settings
wiki
activity.tmpl
bare.tmpl
branch_dropdown.tmpl
commit_status.tmpl
commits_table.tmpl
commits.tmpl
create.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
migrate.tmpl
search.tmpl
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl