|
|
|
@ -45,6 +45,10 @@ |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i> |
|
|
|
|
<input type="text" placeholder="{{.i18n.Tr "repo.issues.filter_label"}}"> |
|
|
|
|
</div> |
|
|
|
|
<span class="info">{{.locale.Tr "repo.issues.filter_label_exclude" | Safe}}</span> |
|
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_no_select"}}</a> |
|
|
|
|
{{range .Labels}} |
|
|
|
@ -60,6 +64,10 @@ |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i> |
|
|
|
|
<input type="text" placeholder="{{.i18n.Tr "repo.issues.filter_milestone"}}"> |
|
|
|
|
</div> |
|
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_milestone_no_select"}}</a> |
|
|
|
|
{{range .Milestones}} |
|
|
|
|
<a class="{{if $.MilestoneID}}{{if eq $.MilestoneID .ID}}active selected{{end}}{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.ID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.Name}}</a> |
|
|
|
@ -90,6 +98,10 @@ |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i> |
|
|
|
|
<input type="text" placeholder="{{.i18n.Tr "repo.issues.filter_assignee"}}"> |
|
|
|
|
</div> |
|
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_assginee_no_select"}}</a> |
|
|
|
|
{{range .Assignees}} |
|
|
|
|
<a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&assignee={{.ID}}&poster={{$.PosterID}}"> |
|
|
|
|