|
|
@ -102,12 +102,13 @@ |
|
|
|
<input type="text" placeholder="{{.locale.Tr "repo.issues.filter_label"}}"> |
|
|
|
<input type="text" placeholder="{{.locale.Tr "repo.issues.filter_label"}}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span class="info">{{.locale.Tr "repo.issues.filter_label_exclude" | Safe}}</span> |
|
|
|
<span class="info">{{.locale.Tr "repo.issues.filter_label_exclude" | Safe}}</span> |
|
|
|
|
|
|
|
<div class="ui divider"></div> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels=0&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_select_no_label"}}</a> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels=0&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_select_no_label"}}</a> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_no_select"}}</a> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_no_select"}}</a> |
|
|
|
{{$previousExclusiveScope := "_no_scope"}} |
|
|
|
{{$previousExclusiveScope := "_no_scope"}} |
|
|
|
{{range .Labels}} |
|
|
|
{{range .Labels}} |
|
|
|
{{$exclusiveScope := .ExclusiveScope}} |
|
|
|
{{$exclusiveScope := .ExclusiveScope}} |
|
|
|
{{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}} |
|
|
|
{{if and (ne $previousExclusiveScope $exclusiveScope)}} |
|
|
|
<div class="ui divider"></div> |
|
|
|
<div class="ui divider"></div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|