mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 01:44:10 -05:00
40 lines
2.1 KiB
Cheetah
40 lines
2.1 KiB
Cheetah
{{template "base/head" .}}
|
|
{{template "base/navbar" .}}
|
|
{{template "repo/nav" .}}
|
|
{{template "repo/toolbar" .}}
|
|
<div id="body" class="container">
|
|
<div id="issue">
|
|
<div class="col-md-3 filter-list">
|
|
<ul class="list-unstyled">
|
|
<li><a href="{{.RepoLink}}/issues/milestones"{{if eq .State "open"}} class="active"{{end}}>Open Milestones <strong class="pull-right">{{.Repository.NumOpenMilestones}}</strong></a></li>
|
|
<li><a href="{{.RepoLink}}/issues/milestones?state=closed"{{if eq .State "closed"}} class="active"{{end}}>Close Milestones <strong class="pull-right">{{.Repository.NumClosedMilestones}}</strong></a></li>
|
|
</ul>
|
|
<hr/>
|
|
<a href="{{.RepoLink}}/issues/milestones/new" class="text-center">
|
|
<button class="btn btn-default btn-block">Create new milestone</button>
|
|
</a>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="milestones list-group">
|
|
{{range .Milestones}}
|
|
<div class="list-group-item milestone-item">
|
|
<h4 class="title pull-left"><a href="{{$.RepoLink}}/issues?milestone={{.Index}}{{if .IsClosed}}&state=closed{{end}}">{{.Name}}</a></h4>
|
|
<span class="issue-open label label-success">{{.NumClosedIssues}}</span>
|
|
<span class="issue-close label label-warning">{{.NumOpenIssues}}</span>
|
|
<p class="actions pull-right">
|
|
<!-- <a href="{{$.RepoLink}}/issues/milestones/{{.Index}}/edit">Edit</a> -->
|
|
<!-- <a href="#">Open</a>
|
|
<a href="#">Close</a> -->
|
|
<!-- <a class="text-danger" href="#">Delete</a> -->
|
|
<a href="{{$.RepoLink}}/issues?milestone={{.Index}}{{if .IsClosed}}&state=closed{{end}}">Issues</a>
|
|
</p>
|
|
<hr/>
|
|
<p class="description">{{.RenderedContent | str2html}}</p>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|