|
|
|
@ -11,8 +11,8 @@ |
|
|
|
|
<div class="ui {{if not .Labels}}disabled{{end}} dropdown jump item label-filter"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_label"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i> |
|
|
|
@ -42,8 +42,8 @@ |
|
|
|
|
<div class="ui {{if not (or .OpenMilestones .ClosedMilestones)}}disabled{{end}} dropdown jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_milestone"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i> |
|
|
|
@ -80,8 +80,8 @@ |
|
|
|
|
<div class="ui{{if not (or .OpenProjects .ClosedProjects)}} disabled{{end}} dropdown jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_project"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i> |
|
|
|
@ -122,8 +122,8 @@ |
|
|
|
|
> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_poster"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i> |
|
|
|
@ -137,8 +137,8 @@ |
|
|
|
|
<div class="ui {{if not .Assignees}}disabled{{end}} dropdown jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_assignee"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<div class="ui icon search input"> |
|
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i> |
|
|
|
@ -160,8 +160,8 @@ |
|
|
|
|
<div class="ui dropdown type jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_type"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<a class="{{if eq .ViewType "all"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type=all&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_type.all_issues"}}</a> |
|
|
|
|
<a class="{{if eq .ViewType "assigned"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type=assigned&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_type.assigned_to_you"}}</a> |
|
|
|
@ -179,8 +179,8 @@ |
|
|
|
|
<div class="list-header-sort ui small dropdown downward type jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
|
{{.locale.Tr "repo.issues.filter_sort"}} |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
</span> |
|
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}} |
|
|
|
|
<div class="menu"> |
|
|
|
|
<a class="{{if or (eq .SortType "latest") (not .SortType)}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort=latest&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_sort.latest"}}</a> |
|
|
|
|
<a class="{{if eq .SortType "oldest"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort=oldest&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_sort.oldest"}}</a> |
|
|
|
|