You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
693 B
21 lines
693 B
{{if .ctx.IsSigned}}
|
|
<div class="item action ui pointing top right select-reaction dropdown" data-action-url="{{ .ActionURL }}">
|
|
<a class="add-reaction">
|
|
{{svg "octicon-plus-small" 16}}
|
|
{{svg "octicon-smiley" 16}}
|
|
</a>
|
|
<div class="menu has-emoji">
|
|
<div class="header">{{ .ctx.i18n.Tr "repo.pick_reaction"}}</div>
|
|
<div class="divider"></div>
|
|
{{range $value := AllowedReactions}}
|
|
{{if eq $value "hooray"}}
|
|
<div class="item" data-content="hooray">:tada:</div>
|
|
{{else if eq $value "laugh"}}
|
|
<div class="item" data-content="laugh">:laughing:</div>
|
|
{{else}}
|
|
<div class="item" data-content="{{$value}}">:{{$value}}:</div>
|
|
{{end}}
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
|