@ -18,10 +18,22 @@
<i class="icon"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ ctx .Locale .Tr "repo.issues.filter_label" }} ">
</div>
<div class="ui checkbox compact archived-label-filter">
<input name="archived" type="checkbox"
id="archived-filter-checkbox"
{{ if .ShowArchivedLabels }} checked {{ end }}
>
<label for="archived-filter-checkbox">
{{ ctx .Locale .Tr "repo.issues.label_archived_filter" }}
<i class="gt-ml-2" data-tooltip-content= {{ ctx .Locale .Tr "repo.issues.label_archive_tooltip" }} >
{{ svg "octicon-info" }}
</i>
</label>
</div>
<span class="info"> {{ ctx .Locale .Tr "repo.issues.filter_label_exclude" | Safe }} </span>
<div class="divider"></div>
<a class=" {{ if .AllLabels }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_label_no_select" }} </a>
<a class=" {{ if .NoLabel }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels=0&milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_label_select_no_label" }} </a>
<a class=" {{ if .AllLabels }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_label_no_select" }} </a>
<a class=" {{ if .NoLabel }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels=0&milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_label_select_no_label" }} </a>
{{ $ previousExclusiveScope : = "_no_scope" }}
{{ range .Labels }}
{{ $ exclusiveScope : = .ExclusiveScope }}
@ -29,7 +41,16 @@
<div class="divider"></div>
{{ end }}
{{ $ previousExclusiveScope = $ exclusiveScope }}
<a class="item label-filter-item gt-df gt-ac" {{ if .IsArchived }} data-is-archived {{ end }} href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .QueryString }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} " data-label-id=" {{ .ID }} "> {{ if .IsExcluded }} {{ svg "octicon-circle-slash" }} {{ else if .IsSelected }} {{ if $ exclusiveScope }} {{ svg "octicon-dot-fill" }} {{ else }} {{ svg "octicon-check" }} {{ end }} {{ end }}
<a class="item label-filter-item gt-df gt-ac" {{ if .IsArchived }} data-is-archived {{ end }} href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .QueryString }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} " data-label-id=" {{ .ID }} ">
{{ if .IsExcluded }}
{{ svg "octicon-circle-slash" }}
{{ else if .IsSelected }}
{{ if $ exclusiveScope }}
{{ svg "octicon-dot-fill" }}
{{ else }}
{{ svg "octicon-check" }}
{{ end }}
{{ end }}
{{ RenderLabel $ .Context . }}
<p class="gt-ml-auto"> {{ template "repo/issue/labels/label_archived" . }} </p>
</a>
@ -50,13 +71,13 @@
<input type="text" placeholder=" {{ ctx .Locale .Tr "repo.issues.filter_milestone" }} ">
</div>
<div class="divider"></div>
<a class=" {{ if not $ .MilestoneID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=0&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_milestone_all" }} </a>
<a class=" {{ if $ .MilestoneID }} {{ if eq $ .MilestoneID - 1 }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=-1&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_milestone_none" }} </a>
<a class=" {{ if not $ .MilestoneID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=0&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_milestone_all" }} </a>
<a class=" {{ if $ .MilestoneID }} {{ if eq $ .MilestoneID - 1 }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=-1&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_milestone_none" }} </a>
{{ if .OpenMilestones }}
<div class="divider"></div>
<div class="header"> {{ ctx .Locale .Tr "repo.issues.filter_milestone_open" }} </div>
{{ range .OpenMilestones }}
<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 }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
<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 }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ .Name }}
</a>
@ -66,7 +87,7 @@
<div class="divider"></div>
<div class="header"> {{ ctx .Locale .Tr "repo.issues.filter_milestone_closed" }} </div>
{{ range .ClosedMilestones }}
<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 }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
<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 }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ .Name }}
</a>
@ -87,15 +108,15 @@
<i class="icon"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ ctx .Locale .Tr "repo.issues.filter_project" }} ">
</div>
<a class=" {{ if not .ProjectID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_project_all" }} </a>
<a class=" {{ if eq .ProjectID - 1 }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &project=-1&assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_project_none" }} </a>
<a class=" {{ if not .ProjectID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_project_all" }} </a>
<a class=" {{ if eq .ProjectID - 1 }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &project=-1&assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_project_none" }} </a>
{{ if .OpenProjects }}
<div class="divider"></div>
<div class="header">
{{ ctx .Locale .Tr "repo.issues.new.open_projects" }}
</div>
{{ range .OpenProjects }}
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} ">
{{ svg .IconName 1 8 "gt-mr-3 gt-shrink-0" }} <span class="gt-ellipsis"> {{ .Title }} </span>
</a>
{{ end }}
@ -106,7 +127,7 @@
{{ ctx .Locale .Tr "repo.issues.new.closed_projects" }}
</div>
{{ range .ClosedProjects }}
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} ">
{{ svg .IconName 1 8 "gt-mr-3" }} {{ .Title }}
</a>
{{ end }}
@ -118,7 +139,7 @@
<div class="ui dropdown jump item user-remote-search" data-tooltip-content=" {{ ctx .Locale .Tr "repo.author_search_tooltip" }} "
data-search-url=" {{ if .Milestone }} {{ $ .RepoLink }} /issues/posters {{ else }} {{ $ .Link }} /posters {{ end }} "
data-selected-user-id=" {{ $ .PosterID }} "
data-action-jump-url=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= { user_id}"
data-action-jump-url=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= { user_id} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "
>
<span class="text">
{{ ctx .Locale .Tr "repo.issues.filter_poster" }}
@ -144,11 +165,11 @@
<i class="icon"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ ctx .Locale .Tr "repo.issues.filter_assignee" }} ">
</div>
<a class=" {{ if not .AssigneeID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_assginee_no_select" }} </a>
<a class=" {{ if eq .AssigneeID - 1 }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee=-1&poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_assginee_no_assignee" }} </a>
<a class=" {{ if not .AssigneeID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_assginee_no_select" }} </a>
<a class=" {{ if eq .AssigneeID - 1 }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee=-1&poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_assginee_no_assignee" }} </a>
<div class="divider"></div>
{{ range .Assignees }}
<a class=" {{ if eq $ .AssigneeID .ID }} active selected {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ .ID }} &poster= {{ $ .PosterID }} ">
<a class=" {{ if eq $ .AssigneeID .ID }} active selected {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ .ID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} ">
{{ ctx .AvatarUtils .Avatar . 2 0 }} {{ template "repo/search_name" . }}
</a>
{{ end }}
@ -163,14 +184,14 @@
</span>
{{ svg "octicon-triangle-down" 1 4 "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 }} "> {{ ctx .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 }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.assigned_to_you" }} </a>
<a class=" {{ if eq .ViewType "created_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=created_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.created_by_you" }} </a>
<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 }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .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 }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.assigned_to_you" }} </a>
<a class=" {{ if eq .ViewType "created_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=created_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.created_by_you" }} </a>
{{ if .PageIsPullList }}
<a class=" {{ if eq .ViewType "review_requested" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=review_requested&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.review_requested" }} </a>
<a class=" {{ if eq .ViewType "reviewed_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=reviewed_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.reviewed_by_you" }} </a>
<a class=" {{ if eq .ViewType "review_requested" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=review_requested&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.review_requested" }} </a>
<a class=" {{ if eq .ViewType "reviewed_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=reviewed_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.reviewed_by_you" }} </a>
{{ end }}
<a class=" {{ if eq .ViewType "mentioned" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=mentioned&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.mentioning_you" }} </a>
<a class=" {{ if eq .ViewType "mentioned" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=mentioned&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_type.mentioning_you" }} </a>
</div>
</div>
{{ end }}
@ -182,14 +203,14 @@
</span>
{{ svg "octicon-triangle-down" 1 4 "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 }} "> {{ ctx .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 }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.oldest" }} </a>
<a class=" {{ if eq .SortType "recentupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=recentupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.recentupdate" }} </a>
<a class=" {{ if eq .SortType "leastupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.leastupdate" }} </a>
<a class=" {{ if eq .SortType "mostcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=mostcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.mostcomment" }} </a>
<a class=" {{ if eq .SortType "leastcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.leastcomment" }} </a>
<a class=" {{ if eq .SortType "nearduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=nearduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.nearduedate" }} </a>
<a class=" {{ if eq .SortType "farduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=farduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.farduedate" }} </a>
<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 }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .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 }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.oldest" }} </a>
<a class=" {{ if eq .SortType "recentupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=recentupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.recentupdate" }} </a>
<a class=" {{ if eq .SortType "leastupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.leastupdate" }} </a>
<a class=" {{ if eq .SortType "mostcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=mostcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.mostcomment" }} </a>
<a class=" {{ if eq .SortType "leastcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.leastcomment" }} </a>
<a class=" {{ if eq .SortType "nearduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=nearduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.nearduedate" }} </a>
<a class=" {{ if eq .SortType "farduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=farduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} {{ if $ .ShowArchivedLabels }} &archived=true {{ end }} "> {{ ctx .Locale .Tr "repo.issues.filter_sort.farduedate" }} </a>
</div>
</div>
</div>