BigW Consortium Gitlab

_files.html.haml 631 Bytes
Newer Older
1 2 3
- commit = local_assigns.fetch(:commit) { @repository.commit }
- ref = local_assigns.fetch(:ref) { current_ref }
- project = local_assigns.fetch(:project) { @project }
Douwe Maan committed
4
- content_url = local_assigns.fetch(:content_url) { @tree.readme ? project_blob_path(@project, tree_join(@ref, @tree.readme.path)) : project_tree_path(@project, @ref) }
5

6
#tree-holder.tree-holder.clearfix
7
  .nav-block
8 9 10
    = render 'projects/tree/tree_header', tree: @tree

  - if !show_new_repo? && commit
11
    = render 'shared/commit_well', commit: commit, ref: ref, project: project
12

Douwe Maan committed
13
  = render 'projects/tree/tree_content', tree: @tree, content_url: content_url