2019-09-30 21:07:59 +05:30
|
|
|
.tree-content-holder.js-tree-content{ data: tree_content_data(@logs_path, @project, @path) }
|
2019-02-15 15:39:39 +05:30
|
|
|
.table-holder.bordered-box
|
2020-03-13 15:44:24 +05:30
|
|
|
%table.table#tree-slider{ class: "table_#{@hex_path} tree-table" }
|
2018-03-17 18:26:18 +05:30
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= s_('ProjectFileTree|Name')
|
2018-11-08 19:23:39 +05:30
|
|
|
%th.d-none.d-sm-table-cell
|
|
|
|
.float-left= _('Last commit')
|
2018-03-17 18:26:18 +05:30
|
|
|
%th.text-right= _('Last update')
|
|
|
|
- if @path.present?
|
|
|
|
%tr.tree-item
|
|
|
|
%td.tree-item-file-name
|
2020-07-28 23:09:34 +05:30
|
|
|
= link_to "..", project_tree_path(@project, up_dir_path), class: 'gl-ml-3'
|
2018-03-17 18:26:18 +05:30
|
|
|
%td
|
2018-11-08 19:23:39 +05:30
|
|
|
%td.d-none.d-sm-table-cell
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
= render_tree(tree)
|
|
|
|
|
|
|
|
- if tree.readme
|
|
|
|
= render "projects/tree/readme", readme: tree.readme
|
|
|
|
|
|
|
|
- if can_edit_tree?
|
|
|
|
= render 'projects/blob/upload', title: _('Upload New File'), placeholder: _('Upload New File'), button_title: _('Upload file'), form_path: project_create_blob_path(@project, @id), method: :post
|
|
|
|
= render 'projects/blob/new_dir'
|