summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-03 14:14:22 +0200
committerUnknwon <u@gogs.io>2015-08-03 14:14:22 +0200
commite7f015db8cd1d16fc630e14afe88763a5ca787a8 (patch)
treef49269556b55c3d4ab49cf81039c4b1f504edce1 /templates/repo/issue
parentmilestone: list view (diff)
downloadforgejo-e7f015db8cd1d16fc630e14afe88763a5ca787a8.tar.xz
forgejo-e7f015db8cd1d16fc630e14afe88763a5ca787a8.zip
fix template
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index fa505df7fe..64a051b57b 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -197,7 +197,7 @@
<p>None yet</p>
{{end}}
</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">
{{if .IsRepositoryOwner}}
<button class="btn btn-default btn-sm" data-toggle="dropdown">
@@ -219,7 +219,7 @@
{{else}}
<ul class="list-unstyled">
{{range .OpenMilestones}}
- <li class="milestone-item" data-id="{{.Id}}">
+ <li class="milestone-item" data-id="{{.ID}}">
<p><strong>{{.Name}}</strong></p>
<!-- <p>due to 3 days later</p> -->
</li>