summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/add_reaction.tmpl
blob: 2873102afbd801d2f66b3161f758630912494b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{if .ctx.IsSigned}}
<div class="item action ui pointing top right select-reaction dropdown" data-action-url="{{ .ActionURL }}">
	<a class="add-reaction">
		{{svg "octicon-smiley" 16}}
	</a>
	<div class="menu">
		<div class="header">{{ .ctx.i18n.Tr "repo.pick_reaction"}}</div>
		<div class="divider"></div>
		{{range $value := AllowedReactions}}
			<div class="item reaction" data-content="{{$value}}">{{ReactionToEmoji $value}}</div>
		{{end}}
	</div>
</div>
{{end}}