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