summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-06 21:39:30 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-06 21:39:30 +0300
commit34d9f34a61bc20f1dec9e6ad504e08835716bd66 (patch)
treec2ece81085132c62ed77d4f6cf4a92bdcc1a0ae4 /app/views/projects/tree/show.html.haml
parent838bbb55e55c1ea41b16ffd0e31f617747ad0ce4 (diff)
downloadgitlab-ce-34d9f34a61bc20f1dec9e6ad504e08835716bd66.tar.gz
Improve select2 css to match bootstrap style
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/tree/show.html.haml')
-rw-r--r--app/views/projects/tree/show.html.haml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index 735ffae9e2c..1ef3020f35f 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -1,6 +1,9 @@
-%div.tree-ref-holder
+.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path
+
- if can? current_user, :download_code, @project
- = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small pull-right', split_button: true
-%div#tree-holder.tree-holder
+ .tree-download-holder
+ = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small pull-right hidden-xs', split_button: true
+
+#tree-holder.tree-holder.clearfix
= render "tree", tree: @tree