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