|
35 | 35 | <div class="menu">
|
36 | 36 | <a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a>
|
37 | 37 | {{range .Labels}}
|
38 |
| - <a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}"><span class="octicon {{if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | Sanitize}}</a> |
| 38 | + <a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}"><span class="octicon {{if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a> |
39 | 39 | {{end}}
|
40 | 40 | </div>
|
41 | 41 | </div>
|
|
49 | 49 | <div class="menu">
|
50 | 50 | <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>
|
51 | 51 | {{range .Milestones}}
|
52 |
| - <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 | Sanitize}}</a> |
| 52 | + <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> |
53 | 53 | {{end}}
|
54 | 54 | </div>
|
55 | 55 | </div>
|
|
117 | 117 | <div class="menu">
|
118 | 118 | {{range .Labels}}
|
119 | 119 | <div class="item issue-action" data-action="toggle" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/labels">
|
120 |
| - <span class="octicon {{if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | Sanitize}} |
| 120 | + <span class="octicon {{if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}} |
121 | 121 | </div>
|
122 | 122 | {{end}}
|
123 | 123 | </div>
|
|
135 | 135 | </div>
|
136 | 136 | {{range .Milestones}}
|
137 | 137 | <div class="item issue-action" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/milestone">
|
138 |
| - {{.Name | Sanitize}} |
| 138 | + {{.Name}} |
139 | 139 | </div>
|
140 | 140 | {{end}}
|
141 | 141 | </div>
|
|
175 | 175 | <a class="ui label" href="{{$.RepoLink}}/src/commit/{{.Ref}}">{{.Ref}}</a>
|
176 | 176 | {{end}}
|
177 | 177 | {{range .Labels}}
|
178 |
| - <a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name | Sanitize}}</a> |
| 178 | + <a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a> |
179 | 179 | {{end}}
|
180 | 180 |
|
181 | 181 | {{if .NumComments}}
|
|
186 | 186 | {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}}
|
187 | 187 | {{if .Milestone}}
|
188 | 188 | <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
|
189 |
| - <span class="octicon octicon-milestone"></span> {{.Milestone.Name | Sanitize}} |
| 189 | + <span class="octicon octicon-milestone"></span> {{.Milestone.Name}} |
190 | 190 | </a>
|
191 | 191 | {{end}}
|
192 | 192 | {{if .Assignee}}
|
|
0 commit comments