2023-03-02 10:44:06 -07:00
|
|
|
{{if .ctxData.IsSigned}}
|
2023-03-16 21:08:05 -06:00
|
|
|
<div class="item action ui dropdown jump pointing top right select-reaction" data-action-url="{{.ActionURL}}">
|
2017-12-03 16:14:26 -07:00
|
|
|
<a class="add-reaction">
|
2020-09-11 14:19:00 -06:00
|
|
|
{{svg "octicon-smiley"}}
|
2017-12-03 16:14:26 -07:00
|
|
|
</a>
|
2020-04-28 12:05:39 -06:00
|
|
|
<div class="menu">
|
2023-03-02 10:44:06 -07:00
|
|
|
<div class="header">{{.ctxData.locale.Tr "repo.pick_reaction"}}</div>
|
2017-12-03 16:14:26 -07:00
|
|
|
<div class="divider"></div>
|
2019-12-27 16:43:56 -07:00
|
|
|
{{range $value := AllowedReactions}}
|
2023-03-24 04:35:38 -06:00
|
|
|
<a class="item reaction" data-tooltip-content="{{$value}}" data-reaction-content="{{$value}}">{{ReactionToEmoji $value}}</a>
|
2019-12-01 15:57:24 -07:00
|
|
|
{{end}}
|
2017-12-03 16:14:26 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|