From 9ec307e7fda2ea25db5db386c372173b8785b612 Mon Sep 17 00:00:00 2001 From: Alexei Bezborodov Date: Sat, 25 Jun 2022 15:55:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=80=D0=BE=D0=B4=D0=B8=D1=82=D0=B5=D0=BB=D1=8F=D0=BC?= =?UTF-8?q?=20#31?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/web/repo/issue_parent.go | 2 +- templates/repo/issue/view_content/sidebar.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routers/web/repo/issue_parent.go b/routers/web/repo/issue_parent.go index 355d5272cc..364c06efce 100644 --- a/routers/web/repo/issue_parent.go +++ b/routers/web/repo/issue_parent.go @@ -104,7 +104,7 @@ func RemoveParent(ctx *context.Context) { case "child": parentType = models.ParentTypeChild default: - ctx.Error(http.StatusBadRequest, "GetDependecyType") + ctx.Error(http.StatusBadRequest, "GetParentType") return } diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 292b681b23..5cc874c1e1 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -477,7 +477,7 @@
{{if and $.CanCreateIssueParents (not $.Repository.IsArchived)}} - + {{svg "octicon-trash" 16}} {{end}} @@ -504,7 +504,7 @@
{{if and $.CanCreateIssueParents (not $.Repository.IsArchived)}} - + {{svg "octicon-trash" 16}} {{end}}