Browse Source

fix only admin can view milestone desc

pull/2218/head
Unknwon 9 years ago
parent
commit
eb918c2368
  1. 2
      templates/repo/issue/milestones.tmpl

2
templates/repo/issue/milestones.tmpl

@ -59,12 +59,12 @@
{{end}} {{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> <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> </div>
{{end}}
{{if .Content}} {{if .Content}}
<div class="content"> <div class="content">
{{.RenderedContent|Str2html}} {{.RenderedContent|Str2html}}
</div> </div>
{{end}} {{end}}
{{end}}
</li> </li>
{{end}} {{end}}

Loading…
Cancel
Save