2016-02-18 23:02:22 -05:00
|
|
|
.emoji-menu
|
2016-06-17 07:58:09 -04:00
|
|
|
= text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Seach emojis"
|
2016-02-18 23:02:22 -05:00
|
|
|
.emoji-menu-content
|
2016-04-16 15:09:08 -04:00
|
|
|
- Gitlab::AwardEmoji.emoji_by_category.each do |category, emojis|
|
2016-03-01 06:25:59 -05:00
|
|
|
%h5.emoji-menu-title
|
2016-04-16 15:09:08 -04:00
|
|
|
= Gitlab::AwardEmoji::CATEGORIES[category]
|
2016-03-01 06:25:59 -05:00
|
|
|
%ul.clearfix.emoji-menu-list
|
2016-02-18 23:02:22 -05:00
|
|
|
- emojis.each do |emoji|
|
2016-03-01 06:25:59 -05:00
|
|
|
%li.pull-left.text-center.emoji-menu-list-item
|
|
|
|
%button.emoji-menu-btn.text-center.js-emoji-btn{type: "button"}
|
|
|
|
= emoji_icon(emoji["name"], emoji["unicode"], emoji["aliases"])
|