diff --git a/app/views/projects/tree/_blob_item.html.haml b/app/views/projects/tree/_blob_item.html.haml index 38b601577949ce3e1d8f62ba99b67ab727d3f78a..35126d4ddbe5bd5830f3a89629a8e0ab8d68f709 100644 --- a/app/views/projects/tree/_blob_item.html.haml +++ b/app/views/projects/tree/_blob_item.html.haml @@ -7,6 +7,6 @@ %span= file_name - if is_lfs_blob %span.label.label-lfs.prepend-left-5 LFS - %td.d-none.d-sm-block.tree-commit + %td.d-none.d-sm-table-cell.tree-commit %td.tree-time-ago.cgray.text-right = render 'projects/tree/spinner' diff --git a/app/views/projects/tree/_submodule_item.html.haml b/app/views/projects/tree/_submodule_item.html.haml index 9a4a62cc3a75c81f551e026bc15c5abe277b3395..e563c8c4036f83d180a7b0589bfd12ad8b2a552d 100644 --- a/app/views/projects/tree/_submodule_item.html.haml +++ b/app/views/projects/tree/_submodule_item.html.haml @@ -3,4 +3,4 @@ %i.fa.fa-archive.fa-fw = submodule_link(submodule_item, @ref) %td - %td.d-none.d-sm-block + %td.d-none.d-sm-table-cell diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml index a5e4b0927e96a017c8021045cad0f94f16cdaa85..587aeafa82f80d249f51580f33bda3ee768a8746 100644 --- a/app/views/projects/tree/_tree_content.html.haml +++ b/app/views/projects/tree/_tree_content.html.haml @@ -4,7 +4,7 @@ %thead %tr %th= s_('ProjectFileTree|Name') - %th.d-none.d-sm-block + %th.d-none.d-sm-table-cell .float-left= _('Last commit') %th.text-right= _('Last update') - if @path.present? @@ -12,7 +12,7 @@ %td.tree-item-file-name = link_to "..", project_tree_path(@project, up_dir_path), class: 'prepend-left-10' %td - %td.d-none.d-sm-block + %td.d-none.d-sm-table-cell = render_tree(tree) diff --git a/app/views/projects/tree/_tree_item.html.haml b/app/views/projects/tree/_tree_item.html.haml index 4c44958746f08f91a258139df99400d4d7de53df..ce0cd95b468781d38433cf583aae1a1d3e50adbb 100644 --- a/app/views/projects/tree/_tree_item.html.haml +++ b/app/views/projects/tree/_tree_item.html.haml @@ -4,6 +4,6 @@ - path = flatten_tree(@path, tree_item) = link_to project_tree_path(@project, tree_join(@id || @commit.id, path)), class: 'str-truncated', title: path do %span= path - %td.d-none.d-sm-block.tree-commit + %td.d-none.d-sm-table-cell.tree-commit %td.tree-time-ago.text-right = render 'projects/tree/spinner'