summaryrefslogtreecommitdiff
path: root/app/views/snippets/index.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-15 08:12:24 +0200
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-15 08:12:24 +0200
commit0712e78597e5954ea61def4c0a6836a3d5b5d275 (patch)
treed3a7cd314d307661f6c1ed23d21c855f1d8941e9 /app/views/snippets/index.html.haml
parentca4e2ad135061150bb47ec229bed52a25fa49f75 (diff)
downloadgitlab-ce-0712e78597e5954ea61def4c0a6836a3d5b5d275.tar.gz
Snippet restyle
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r--app/views/snippets/index.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index 677fe9de8b1..f08a3d1d673 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -4,9 +4,7 @@
- if can? current_user, :write_snippet, @project
.right= link_to 'New Snippet', new_project_snippet_path(@project), :class => "grey-button append-bottom-10"
-%table#snippets-table
- = render @snippets.fresh
-
-:javascript
- $('.delete-snippet').live('ajax:success', function() {
- $(this).closest('tr').fadeOut(); });
+- unless @snippets.fresh.empty?
+ %div{ :class => "update-data ui-box ui-box-small ui-box-big" }
+ .data
+ = render @snippets.fresh