summaryrefslogtreecommitdiff
path: root/app/views/projects/artifacts/_tree_file.html.haml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-21 12:53:31 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:13 +0100
commit5a1faf61f6d8bdbdde1842db8cf13521287ed168 (patch)
treef77442f8469a924ec332506f98292c89da96e47b /app/views/projects/artifacts/_tree_file.html.haml
parent37b2c5dd5521f25a7195e82538a0ffc528c3ec6d (diff)
downloadgitlab-ce-5a1faf61f6d8bdbdde1842db8cf13521287ed168.tar.gz
Add artifacts browser
This implementation makes it possible to browse artifacts, it depends on artifacts metadata.
Diffstat (limited to 'app/views/projects/artifacts/_tree_file.html.haml')
-rw-r--r--app/views/projects/artifacts/_tree_file.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml
new file mode 100644
index 00000000000..ad42162b50a
--- /dev/null
+++ b/app/views/projects/artifacts/_tree_file.html.haml
@@ -0,0 +1,5 @@
+%tr{ class: 'tree-item' }
+ %td.tree-item-file-name
+ = tree_icon('file', '664', file.basename)
+ %span.str-truncated
+ = file.basename