|
|
|
@@ -2,13 +2,29 @@ |
|
|
|
<div class="repository new milestone"> |
|
|
|
{{template "repo/header" .}} |
|
|
|
<div class="ui container"> |
|
|
|
<div class="navbar"> |
|
|
|
{{template "repo/issue/navbar" .}} |
|
|
|
{{if and (or .CanWriteIssues .CanWritePulls) .PageIsEditMilestone}} |
|
|
|
<div class="ui right floated secondary menu"> |
|
|
|
<a class="ui green button" href="{{$.RepoLink}}/milestones/new">{{.i18n.Tr "repo.milestones.new"}}</a> |
|
|
|
<div class="ui two column stackable grid"> |
|
|
|
<div class="column" style="display: flex;align-items: center;"> |
|
|
|
<div class="ui large breadcrumb"> |
|
|
|
<a class="section" href="{{.RepoLink}}/issues">{{.i18n.Tr "repo.issues"}}</a> |
|
|
|
<div class="divider"> / </div> |
|
|
|
<a class="section" href="{{.RepoLink}}/milestones">{{.i18n.Tr "repo.milestones"}}</a> |
|
|
|
<div class="divider"> / </div> |
|
|
|
{{if .PageIsEditMilestone}} |
|
|
|
<div class="action section">{{.i18n.Tr "repo.milestones.edit"}}</div> |
|
|
|
{{else}} |
|
|
|
<div class="action section">{{.i18n.Tr "repo.milestones.new"}}</div> |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
<div class="column right aligned"> |
|
|
|
{{template "repo/issue/navbar" .}} |
|
|
|
{{if and (or .CanWriteIssues .CanWritePulls) .PageIsEditMilestone}} |
|
|
|
<div class="ui right floated secondary menu"> |
|
|
|
<a class="ui green button" href="{{$.RepoLink}}/milestones/new">{{.i18n.Tr "repo.milestones.new"}}</a> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="ui divider"></div> |
|
|
|
<h2 class="ui dividing header"> |
|
|
|
|