fix template

tokarchuk/v1.17
Unknwon 9 years ago
parent 04458d49a0
commit e7f015db8c
  1. 4
      templates/repo/issue/view.tmpl

@ -197,7 +197,7 @@
<p>None yet</p> <p>None yet</p>
{{end}} {{end}}
</div> </div>
<div class="milestone" data-milestone="{{.Milestone.Id}}" data-ajax="{{.Issue.Index}}/milestone"> <div class="milestone" data-milestone="{{.Milestone.ID}}" data-ajax="{{.Issue.Index}}/milestone">
<div class="pull-right action"> <div class="pull-right action">
{{if .IsRepositoryOwner}} {{if .IsRepositoryOwner}}
<button class="btn btn-default btn-sm" data-toggle="dropdown"> <button class="btn btn-default btn-sm" data-toggle="dropdown">
@ -219,7 +219,7 @@
{{else}} {{else}}
<ul class="list-unstyled"> <ul class="list-unstyled">
{{range .OpenMilestones}} {{range .OpenMilestones}}
<li class="milestone-item" data-id="{{.Id}}"> <li class="milestone-item" data-id="{{.ID}}">
<p><strong>{{.Name}}</strong></p> <p><strong>{{.Name}}</strong></p>
<!-- <p>due to 3 days later</p> --> <!-- <p>due to 3 days later</p> -->
</li> </li>

Loading…
Cancel
Save