about summary refs log tree commit diff
path: root/app/views/admin/custom_emojis/index.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-19 03:52:38 +0200
committerGitHub <noreply@github.com>2017-09-19 03:52:38 +0200
commit09a94b575e90dc7f6e179a1ec717156e725f915a (patch)
treef7b3ccd6e4e7fe91ce9e86c649345ee0c83bfbfa /app/views/admin/custom_emojis/index.html.haml
parentd43944143af079017c494f046aa171b797f5e680 (diff)
Admin interface for listing, adding and removing custom emojis (#5002)
* Admin interface for listing, adding and removing custom emojis

* Only display local ones in the list
Diffstat (limited to 'app/views/admin/custom_emojis/index.html.haml')
-rw-r--r--app/views/admin/custom_emojis/index.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/admin/custom_emojis/index.html.haml b/app/views/admin/custom_emojis/index.html.haml
new file mode 100644
index 000000000..d5f32e84b
--- /dev/null
+++ b/app/views/admin/custom_emojis/index.html.haml
@@ -0,0 +1,14 @@
+- content_for :page_title do
+  = t('admin.custom_emojis.title')
+
+.table-wrapper
+  %table.table
+    %thead
+      %tr
+        %th= t('admin.custom_emojis.emoji')
+        %th= t('admin.custom_emojis.shortcode')
+        %th
+    %tbody
+      = render @custom_emojis
+
+= link_to t('admin.custom_emojis.upload'), new_admin_custom_emoji_path, class: 'button'