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