@@ -183,17 +183,17 @@ func (ut *RenderUtils) RenderLabel(label *issues_model.Label) template.HTML {
183
183
textColor , scopeColor , scopeHTML ,
184
184
textColor , itemColor , itemHTML ,
185
185
orderHTML )
186
- } else {
187
- // <scope> | <label>
188
- return htmlutil .HTMLFormat (`<span class="ui label %s scope-parent" data-tooltip-content title="%s">` +
189
- `<div class="ui label scope-left" style="color: %s !important; background-color: %s !important">%s</div>` +
190
- `<div class="ui label scope-right" style="color: %s !important; background-color: %s !important">%s</div>` +
191
- `</span>` ,
192
- extraCSSClasses , descriptionText ,
193
- textColor , scopeColor , scopeHTML ,
194
- textColor , itemColor , itemHTML ,
195
- )
196
186
}
187
+
188
+ // <scope> | <label>
189
+ return htmlutil .HTMLFormat (`<span class="ui label %s scope-parent" data-tooltip-content title="%s">` +
190
+ `<div class="ui label scope-left" style="color: %s !important; background-color: %s !important">%s</div>` +
191
+ `<div class="ui label scope-right" style="color: %s !important; background-color: %s !important">%s</div>` +
192
+ `</span>` ,
193
+ extraCSSClasses , descriptionText ,
194
+ textColor , scopeColor , scopeHTML ,
195
+ textColor , itemColor , itemHTML ,
196
+ )
197
197
}
198
198
199
199
// RenderEmoji renders html text with emoji post processors
0 commit comments