Browse Source

fix only admin can view milestone desc

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

10
templates/repo/issue/milestones.tmpl

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

Loading…
Cancel
Save