13 lines
460 B
Go HTML Template
13 lines
460 B
Go HTML Template
{{if .ctxData.IsSigned}}
|
|
<div class="item action ui dropdown jump pointing top right select-reaction" data-action-url="{{.ActionURL}}">
|
|
<a class="add-reaction muted">
|
|
{{svg "octicon-smiley"}}
|
|
</a>
|
|
<div class="menu reactions-menu">
|
|
{{range $value := AllowedReactions}}
|
|
<a class="item reaction" data-tooltip-content="{{$value}}" aria-label="{{$value}}" data-reaction-content="{{$value}}">{{ReactionToEmoji $value}}</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|