From 6d993a206dd57ea001da39bb5f70b7ad1cbaa103 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 14 Oct 2021 11:14:19 +0800 Subject: [PATCH] fix the pull page as same issue page --- templates/repo/issue/view.tmpl | 6 ++++++ templates/repo/pulls/commits.tmpl | 16 +++++++++++++++- templates/repo/pulls/files.tmpl | 16 +++++++++++++++- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index adc7376cf..b8a88cd95 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -10,6 +10,12 @@
/
{{.i18n.Tr "repo.issues_detail"}}
+ {{else}} + {{end}} {{if not .Repository.IsArchived}} diff --git a/templates/repo/pulls/commits.tmpl b/templates/repo/pulls/commits.tmpl index 422295f55..1dba43b84 100644 --- a/templates/repo/pulls/commits.tmpl +++ b/templates/repo/pulls/commits.tmpl @@ -2,11 +2,25 @@
{{template "repo/header" .}}
-