{{.i18n.Tr "repo.projects.deletion_desc"}}
+diff --git a/routers/repo/projects.go b/routers/repo/projects.go index 948f88375ef..07327df9eb0 100644 --- a/routers/repo/projects.go +++ b/routers/repo/projects.go @@ -291,6 +291,8 @@ func ViewProject(ctx *context.Context) { return } + project.RenderedContent = string(markdown.Render([]byte(project.Description), ctx.Repo.RepoLink, ctx.Repo.Repository.ComposeMetas())) + ctx.Data["CanWriteProjects"] = ctx.Repo.Permission.CanWrite(models.UnitTypeProjects) ctx.Data["Project"] = project ctx.Data["Boards"] = allBoards diff --git a/templates/repo/projects/list.tmpl b/templates/repo/projects/list.tmpl index 35c3c00f44c..c7ee628316c 100644 --- a/templates/repo/projects/list.tmpl +++ b/templates/repo/projects/list.tmpl @@ -57,7 +57,7 @@ {{if .IsClosed}} {{svg "octicon-check"}} {{$.i18n.Tr "repo.projects.open"}} {{else}} - {{svg "octicon-x"}} {{$.i18n.Tr "repo.projects.close"}} + {{svg "octicon-skip"}} {{$.i18n.Tr "repo.projects.close"}} {{end}} {{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}} diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index c25a05c5c78..ee82f240102 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -34,8 +34,39 @@
+{{.i18n.Tr "repo.projects.deletion_desc"}}
+