summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/add_reaction.tmpl
blob: 37931f287e3dba09713cf26d2816663ac55c6837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{if .ctxData.IsSigned}}
<div class="item action ui dropdown jump pointing top right select-reaction" data-action-url="{{.ActionURL}}">
	<a class="add-reaction muted">
		{{svg "octicon-smiley"}}
	</a>
	<div class="menu reactions-menu">
		{{range $value := AllowedReactions}}
			<a class="item reaction" data-tooltip-content="{{$value}}" aria-label="{{$value}}" data-reaction-content="{{$value}}">{{ReactionToEmoji $value}}</a>
		{{end}}
	</div>
</div>
{{end}}