@ -56,14 +56,14 @@
<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
{{if or .Labels .OrgLabels}}
{{if or .Labels .OrgLabels}}
{{range .Labels}}
{{range .Labels}}
<a class="{{if .IsChecked}}checked{{end}} item has-emoji " href=" #" data-id="{{.ID}}" data-id-selector=" #label _ { { . ID } } " ><span class= " octicon - check { { if not . IsChecked } } invisible { { end } } " > {{ svg " octicon - check " 16}}</span><span class= " label color " style= " background - color : { { . Color } } " ></span> {{ .Name}}
<a class="{{if .IsChecked}}checked{{end}} item" href=" #" data-id="{{.ID}}" data-id-selector=" #label _ { { . ID } } " ><span class= " octicon - check { { if not . IsChecked } } invisible { { end } } " > {{ svg " octicon - check " 16}}</span><span class= " label color " style= " background - color : { { . Color } } " ></span> {{ .Name | RenderEmojiPlain }}
{{if .Description }}<br><small class="desc">{{.Description}}</small>{{end}}</a>
{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain }}</small>{{end}}</a>
{{end}}
{{end}}
<div class="ui divider"></div>
<div class="ui divider"></div>
{{range .OrgLabels}}
{{range .OrgLabels}}
<a class="{{if .IsChecked}}checked{{end}} item has-emoji " href=" #" data-id="{{.ID}}" data-id-selector=" #label _ { { . ID } } " ><span class= " octicon - check { { if not . IsChecked } } invisible { { end } } " > {{ svg " octicon - check " 16}}</span><span class= " label color " style= " background - color : { { . Color } } " ></span> {{ .Name}}
<a class="{{if .IsChecked}}checked{{end}} item" href=" #" data-id="{{.ID}}" data-id-selector=" #label _ { { . ID } } " ><span class= " octicon - check { { if not . IsChecked } } invisible { { end } } " > {{ svg " octicon - check " 16}}</span><span class= " label color " style= " background - color : { { . Color } } " ></span> {{ .Name | RenderEmojiPlain }}
{{if .Description }}<br><small class="desc">{{.Description}}</small>{{end}}</a>
{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain }}</small>{{end}}</a>
{{end}}
{{end}}
{{else}}
{{else}}
<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div>
<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div>
@ -73,10 +73,10 @@
<div class="ui labels list">
<div class="ui labels list">
<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span>
<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span>
{{range .Labels}}
{{range .Labels}}
<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text has-emoji ">{{.Name}}</span></a>
<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmojiPlain }}</span></a>
{{end}}
{{end}}
{{range .OrgLabels}}
{{range .OrgLabels}}
<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text has-emoji ">{{.Name}}</span></a>
<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmojiPlain }}</span></a>
{{end}}
{{end}}
</div>
</div>