Skip to content

Commit

Permalink
Update view.tmpl
Browse files Browse the repository at this point in the history
Added rendering of emoji to project label
  • Loading branch information
rakshith-ravi authored Dec 14, 2020
1 parent 54b55e1 commit a6923fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/projects/view.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
</div>
<div class="extra content">
{{ range .Labels }}
<a class="ui label has-emoji" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description}}">{{.Name}}</a>
<a class="ui label has-emoji" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description}}">{{.Name | RenderEmoji}}</a>
{{ end }}
</div>
</div>
Expand Down

0 comments on commit a6923fb

Please sign in to comment.