summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_tree_content.html.haml
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-24 18:42:11 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-24 18:42:11 +0100
commit27ab115005c3febbda8cc37f67ec9940814fae9e (patch)
tree7b1c29836cf271779122b244f1c481cea53625f4 /app/views/projects/tree/_tree_content.html.haml
parent9646330e4189768007fccd1335a88bd9f50e507e (diff)
downloadgitlab-ce-27ab115005c3febbda8cc37f67ec9940814fae9e.tar.gz
Add root vue instance
Diffstat (limited to 'app/views/projects/tree/_tree_content.html.haml')
-rw-r--r--app/views/projects/tree/_tree_content.html.haml23
1 files changed, 1 insertions, 22 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml
index dbe3e261126..3d149dfdbbf 100644
--- a/app/views/projects/tree/_tree_content.html.haml
+++ b/app/views/projects/tree/_tree_content.html.haml
@@ -1,25 +1,4 @@
-.tree-content-holder
- #sidebar{ ":class" => "{'sidebar-mini' : isMini}", "v-cloak" => "1", data: { url: repo_url(@project) } }<
- %table.table
- %thead{ "v-if" => "!isMini" }
- %th{ "v-if" => "!isMini" }
- Name
- %th{ "v-else" => "1" }
- Project
- %th.hidden-sm.hidden-xs{ "v-if" => "!isMini" }
- Last Commit
- %th.hidden-xs{ "v-if" => "!isMini" }
- Last Update
- %tbody
- %tr{ is: "repo-file-options", ":is-mini" => "isMini", "project-name" => @project.name }
- %tr{ is: "repo-previous-directory", ":prev-url" => "prevURL", "@linkclicked" => "linkClicked(prevURL)" }
- %tr{ is: "repo-loading-file", "v-for" => "n in 5", ":loading" => "loading", ":has-files" => "!!files.length", ":is-mini" => "isMini" }
- %tr{ is: "repo-file", "v-for" => "file in files", ":key" => "file.id", ":file" => "file",":is-mini" => "isMini", "@linkclicked" => "linkClicked(file)", ":is-tree" => "isTree", ":has-files" => "!!files.length", ":active-file" => "activeFile" }
- .panel-right>
- %repo-tabs
- %repo-file-buttons
- %repo-editor
- %repo-binary-viewer
+#repo{ data: { url: repo_url(@project) } }
#commit-area{ "v-if" => "changedFiles.length" }
%form.form-horizontal
%fieldset