mirror of
1
Fork 0
forgejo/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 Prevent html entity escaping (#4471) 2018-07-19 18:25:17 +03:00
diff User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
editor Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
issue allow WIP marker to contains < or > (#4709) 2018-08-19 15:00:10 -04:00
pulls User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
release Responsive design fixes (#4508) 2018-07-26 18:25:41 +03:00
settings Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
wiki Add shortcut to save wiki page (#4452) 2018-07-24 12:20:52 +02:00
activity.tmpl Fixed 0 closed issues not show 50% closed on activty page (#3802) 2018-04-16 08:26:53 +03:00
bare.tmpl fix writer cannot read bare repo guide (#4033) 2018-05-24 22:28:53 +08:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Modify pagination. (#3766) 2018-04-08 08:54:21 +08:00
create.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Fix starring icon after semantic ui update (#4628) 2018-08-07 14:36:21 -04:00
home.tmpl Added front-end topics validation (#4316) 2018-07-14 20:43:32 -04:00
migrate.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Minor copy changes (#3074) 2017-12-03 22:52:30 +02:00
user_cards.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
view_file.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
view_list.tmpl Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00