1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/templates/repo/diff
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
..
box.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
comment_form.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
page.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
section_unified.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00