Commit a1f97f1
Use pulls url if issue is a pull request (go-gitea#16230)
if a pull request is displayed use the /pulls path
if a pull requests diff is displayed use the /pulls/{id}/files url
if an issue is displayed use the issues url
Fixes go-gitea#16102
Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>1 parent fbaaee3 commit a1f97f1
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- templates/repo/issue/view_content
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
0 commit comments