From 0c5c622836b5c7c4af85413d7cf4cd6a1ecae580 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Tue, 22 Jun 2021 21:16:30 +0200 Subject: [PATCH] Use pulls url if issue is a pull request 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 #16102 Signed-off-by: Sebastian Sauer --- templates/repo/issue/view_content/context_menu.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/context_menu.tmpl b/templates/repo/issue/view_content/context_menu.tmpl index e3001cddce5a8..fdefde979dc5a 100644 --- a/templates/repo/issue/view_content/context_menu.tmpl +++ b/templates/repo/issue/view_content/context_menu.tmpl @@ -6,7 +6,11 @@