Skip to content

Commit

Permalink
Allow/fix review (approve/reject) of empty PRs (go-gitea#25690) (go-g…
Browse files Browse the repository at this point in the history
…itea#25732)

Backport go-gitea#25690 by @sebastian-sauer

gitea allows to create empty PRs.

Currently when you need approvals for a merge, you have to manually add
/files to the url to get to the files tab to approve / reject the PR.

This PR allows to open the files tab via the normal tab / link and then
fixes the layout of the files tab.

**Screenshots:**

Before:

![image](https://github.com/go-gitea/gitea/assets/1135157/b5082e5e-8c32-4412-993e-b854905e96d3)

After:

![image](https://github.com/go-gitea/gitea/assets/1135157/1f5e056e-396f-4dfb-8d14-e17a2f6495d9)

Co-authored-by: sebastian-sauer <sauer.sebastian@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
3 people committed Jul 6, 2023
1 parent 03cacf9 commit e595dfe
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 170 deletions.

0 comments on commit e595dfe

Please sign in to comment.