summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-03 09:53:04 -0600
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-07 08:59:40 -0500
commit664afebbe9e62f13074c999d84674a0e37fa8cc2 (patch)
tree3de774687f2849ed2e99fff7ebd212343bb005c7 /app/views/projects/tree/show.html.haml
parent3fd0b364ea54832a861482d609bd25d485d5ac9c (diff)
downloadgitlab-ce-664afebbe9e62f13074c999d84674a0e37fa8cc2.tar.gz
Start styling sub nav
Diffstat (limited to 'app/views/projects/tree/show.html.haml')
-rw-r--r--app/views/projects/tree/show.html.haml19
1 files changed, 11 insertions, 8 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index 59f60c4687c..2abcfcdd7b2 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -1,3 +1,5 @@
+- @no_container = true
+
- page_title @path.presence || "Files", @ref
= content_for :meta_tags do
- if current_user
@@ -5,13 +7,14 @@
= render 'projects/last_push'
= render "projects/commits/head"
-.tree-controls
- = render 'projects/find_file_link'
- - if can? current_user, :download_code, @project
- = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped', split_button: true
+%div{ class: (container_class) }
+ .tree-controls
+ = render 'projects/find_file_link'
+ - if can? current_user, :download_code, @project
+ = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped', split_button: true
-#tree-holder.tree-holder.clearfix
- .nav-block
- = render 'projects/tree/tree_header', tree: @tree
+ #tree-holder.tree-holder.clearfix
+ .nav-block
+ = render 'projects/tree/tree_header', tree: @tree
- = render 'projects/tree/tree_content', tree: @tree
+ = render 'projects/tree/tree_content', tree: @tree