Browse Source

fix template

for-closed-social
Unknwon 9 years ago
parent
commit
e7f015db8c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/issue/view.tmpl

+ 2
- 2
templates/repo/issue/view.tmpl View File

@ -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