|
|
@ -21,8 +21,10 @@ |
|
|
|
<div class="divider"></div> |
|
|
|
<div class="divider"></div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|
<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}" data-scope="{{$exclusiveScope}}"><span class="octicon-check {{if not .IsChecked}}gt-invisible{{end}}">{{if $exclusiveScope}}{{svg "octicon-dot-fill"}}{{else}}{{svg "octicon-check"}}{{end}}</span> {{RenderLabel $.Context .}} |
|
|
|
<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" {{if .IsArchived}}data-is-archived{{end}} data-id-selector="#label_{{.ID}}" data-scope="{{$exclusiveScope}}"><span class="octicon-check {{if not .IsChecked}}gt-invisible{{end}}">{{if $exclusiveScope}}{{svg "octicon-dot-fill"}}{{else}}{{svg "octicon-check"}}{{end}}</span> {{RenderLabel $.Context .}} |
|
|
|
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}}</a> |
|
|
|
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}} |
|
|
|
|
|
|
|
<p class="archived-label-hint">{{template "repo/issue/labels/label_archived" .}}</p> |
|
|
|
|
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<div class="divider"></div> |
|
|
|
<div class="divider"></div> |
|
|
|
{{$previousExclusiveScope = "_no_scope"}} |
|
|
|
{{$previousExclusiveScope = "_no_scope"}} |
|
|
@ -32,8 +34,10 @@ |
|
|
|
<div class="divider"></div> |
|
|
|
<div class="divider"></div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|
{{$previousExclusiveScope = $exclusiveScope}} |
|
|
|
<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}" data-scope="{{$exclusiveScope}}"><span class="octicon-check {{if not .IsChecked}}gt-invisible{{end}}">{{if $exclusiveScope}}{{svg "octicon-dot-fill"}}{{else}}{{svg "octicon-check"}}{{end}}</span> {{RenderLabel $.Context .}} |
|
|
|
<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" {{if .IsArchived}}data-is-archived{{end}} data-id-selector="#label_{{.ID}}" data-scope="{{$exclusiveScope}}"><span class="octicon-check {{if not .IsChecked}}gt-invisible{{end}}">{{if $exclusiveScope}}{{svg "octicon-dot-fill"}}{{else}}{{svg "octicon-check"}}{{end}}</span> {{RenderLabel $.Context .}} |
|
|
|
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}}</a> |
|
|
|
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}} |
|
|
|
|
|
|
|
<p class="archived-label-hint">{{template "repo/issue/labels/label_archived" .}}</p> |
|
|
|
|
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{else}} |
|
|
|
{{else}} |
|
|
|
<div class="disabled item">{{ctx.Locale.Tr "repo.issues.new.no_items"}}</div> |
|
|
|
<div class="disabled item">{{ctx.Locale.Tr "repo.issues.new.no_items"}}</div> |
|
|
|