summaryrefslogtreecommitdiff
path: root/app/views/snippets/_snippets.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/_snippets.html.haml')
-rw-r--r--app/views/snippets/_snippets.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/snippets/_snippets.html.haml b/app/views/snippets/_snippets.html.haml
new file mode 100644
index 00000000000..192cb6aa94a
--- /dev/null
+++ b/app/views/snippets/_snippets.html.haml
@@ -0,0 +1,15 @@
+%table
+ %thead
+ %tr
+ %th Title
+ %th File Name
+ %th Expires At
+ %th Project
+
+ = render partial: 'snippet', collection: @snippets
+ - if @snippets.empty?
+ %tr
+ %td{colspan: 4}
+ %h3.nothing_here_message Nothing here.
+
+= paginate @snippets