Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00

fix template

This commit is contained in:
Unknwon 2015-08-03 20:14:22 +08:00
parent 04458d49a0
commit e7f015db8c

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>