aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/milestones.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-15 21:25:38 -0500
committerUnknwon <u@gogs.io>2015-12-15 21:25:38 -0500
commiteb918c2368afe4ceba43e09fe199b126de56e4fd (patch)
treea87d5c650519780ebbd68667754cfac6a81dd94f /templates/repo/issue/milestones.tmpl
parent8ecbf0f16d90ad63a3c3ddc856df7b76aa0c328f (diff)
downloadgitea-eb918c2368afe4ceba43e09fe199b126de56e4fd.tar.gz
gitea-eb918c2368afe4ceba43e09fe199b126de56e4fd.zip
fix only admin can view milestone desc
Diffstat (limited to 'templates/repo/issue/milestones.tmpl')
-rw-r--r--templates/repo/issue/milestones.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl
index fe247d80c0..f80eed8c54 100644
--- a/templates/repo/issue/milestones.tmpl
+++ b/templates/repo/issue/milestones.tmpl
@@ -59,11 +59,11 @@
{{end}}
<a class="delete-button" href="#" data-url="{{$.RepoLink}}/milestones/delete" data-id="{{.ID}}"><i class="octicon octicon-trashcan"></i> {{$.i18n.Tr "repo.issues.label_delete"}}</a>
</div>
- {{if .Content}}
- <div class="content">
- {{.RenderedContent|Str2html}}
- </div>
- {{end}}
+ {{end}}
+ {{if .Content}}
+ <div class="content">
+ {{.RenderedContent|Str2html}}
+ </div>
{{end}}
</li>
{{end}}