2017-12-03 18:14:26 -05:00
|
|
|
{{if .ctx.IsSigned}}
|
2022-08-31 10:58:54 -05:00
|
|
|
<div class="item action ui pointing select-reaction dropdown top right" data-action-url="{{.ActionURL}}">
|
2017-12-03 18:14:26 -05:00
|
|
|
<a class="add-reaction">
|
2020-09-11 15:19:00 -05:00
|
|
|
{{svg "octicon-smiley"}}
|
2017-12-03 18:14:26 -05:00
|
|
|
</a>
|
2020-04-28 13:05:39 -05:00
|
|
|
<div class="menu">
|
2022-08-31 10:58:54 -05:00
|
|
|
<div class="header">{{.ctx.locale.Tr "repo.pick_reaction"}}</div>
|
2017-12-03 18:14:26 -05:00
|
|
|
<div class="divider"></div>
|
2019-12-27 18:43:56 -05:00
|
|
|
{{range $value := AllowedReactions}}
|
2022-08-09 07:37:34 -05:00
|
|
|
<div class="item reaction tooltip" data-content="{{$value}}">{{ReactionToEmoji $value}}</div>
|
2019-12-01 17:57:24 -05:00
|
|
|
{{end}}
|
2017-12-03 18:14:26 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|