2024-04-14 18:44:11 +08:00
|
|
|
{{if ctx.RootData.IsSigned}}
|
2023-03-17 11:08:05 +08:00
|
|
|
<div class="item action ui dropdown jump pointing top right select-reaction" data-action-url="{{.ActionURL}}">
|
2024-04-14 18:44:11 +08:00
|
|
|
<a class="muted">{{svg "octicon-smiley"}}</a>
|
|
|
|
<div class="menu">
|
2019-12-28 07:43:56 +08:00
|
|
|
{{range $value := AllowedReactions}}
|
2024-04-14 18:44:11 +08:00
|
|
|
<a class="item emoji comment-reaction-button" data-tooltip-content="{{$value}}" aria-label="{{$value}}" data-reaction-content="{{$value}}">{{ReactionToEmoji $value}}</a>
|
2019-12-02 06:57:24 +08:00
|
|
|
{{end}}
|
2017-12-04 07:14:26 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|