|
|
@@ -1,3 +1,15 @@ |
|
|
|
|
|
<style> |
|
|
|
|
|
li{ |
|
|
|
|
|
list-style-type:none; |
|
|
|
|
|
} |
|
|
|
|
|
.leftcontent{ |
|
|
|
|
|
width:30px; |
|
|
|
|
|
float: left; |
|
|
|
|
|
} |
|
|
|
|
|
.rightcontent{ |
|
|
|
|
|
margin-left: 30px; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
{{template "base/head" .}} |
|
|
{{template "base/head" .}} |
|
|
<div class="repository"> |
|
|
<div class="repository"> |
|
|
{{template "repo/header" .}} |
|
|
{{template "repo/header" .}} |
|
|
@@ -65,7 +77,13 @@ |
|
|
<div class="menu"> |
|
|
<div class="menu"> |
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_milestone_no_select"}}</a> |
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_milestone_no_select"}}</a> |
|
|
{{range .Milestones}} |
|
|
{{range .Milestones}} |
|
|
<a class="{{if eq $.MilestoneID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.ID}}&assignee={{$.AssigneeID}}">{{.Name}}</a> |
|
|
|
|
|
|
|
|
<!-- <a class="{{if eq $.MilestoneID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.ID}}&assignee={{$.AssigneeID}}"><span>{{if eq $.MilestoneID .ID}}<img style=" width:15px; height:15px;float: left;;vertical-align: middle" src="/img/pro.svg">{{end}}</span><span style="float: right;">{{.Name}}</span></a> --> |
|
|
|
|
|
<a class="{{if eq $.MilestoneID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.ID}}&assignee={{$.AssigneeID}}"> |
|
|
|
|
|
|
|
|
|
|
|
<li class="leftcontent">{{if eq $.MilestoneID .ID}}<img style=" width:15px; height:15px;float: left;;vertical-align: middle" src="/img/correct.svg" >{{end}}</li> |
|
|
|
|
|
<li class="rightcontent">{{.Name}}</li> |
|
|
|
|
|
</a> |
|
|
|
|
|
<!-- <a class="{{if eq $.MilestoneID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.ID}}&assignee={{$.AssigneeID}}">{{.Name}}</a> --> |
|
|
{{end}} |
|
|
{{end}} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|