debian-mirror-gitlab/app/views/emojis/index.html.haml

12 lines
576 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
.emoji-menu
2016-08-24 12:49:21 +05:30
= text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Search emoji"
2016-06-02 11:05:42 +05:30
.emoji-menu-content
- Gitlab::AwardEmoji.emoji_by_category.each do |category, emojis|
2016-06-02 11:05:42 +05:30
%h5.emoji-menu-title
= Gitlab::AwardEmoji::CATEGORIES[category]
2016-06-02 11:05:42 +05:30
%ul.clearfix.emoji-menu-list
- emojis.each do |emoji|
%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"])