diff --git a/app/views/projects/tree/_blob_item.html.haml b/app/views/projects/tree/_blob_item.html.haml index 6fee604b554d576042d3a98c9e53e5123339b4cf..0971a426527231047d2dac7cc6e92b2139e23e72 100644 --- a/app/views/projects/tree/_blob_item.html.haml +++ b/app/views/projects/tree/_blob_item.html.haml @@ -5,4 +5,4 @@ = link_to blob_item.name, project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)) %td.tree_time_ago.cgray = render 'spinner' - %td.tree_commit{ colspan: 2 } + %td.hidden-xs.tree_commit{ colspan: 2 } diff --git a/app/views/projects/tree/_submodule_item.html.haml b/app/views/projects/tree/_submodule_item.html.haml index 3e2655cc4f65a5f02ed4961714d92462df4c217c..474604df6546a3c0fdf5b1807c2b8d71367e2ea5 100644 --- a/app/views/projects/tree/_submodule_item.html.haml +++ b/app/views/projects/tree/_submodule_item.html.haml @@ -11,5 +11,4 @@ - else = link_to "#{submodule_item.id[0..10]}", commit %td - %td - %td + %td.hidden-xs diff --git a/app/views/projects/tree/_tree.html.haml b/app/views/projects/tree/_tree.html.haml index f049aa58e06e3448e9ddaa75266c40d596830671..dbb74a1cafb111e3f57633c60c8e75730ab8f527 100644 --- a/app/views/projects/tree/_tree.html.haml +++ b/app/views/projects/tree/_tree.html.haml @@ -20,7 +20,7 @@ %tr %th Name %th Last Update - %th.hidden-sm + %th.hidden-sm.hidden-xs Last Commit %span.last-commit @@ -30,15 +30,14 @@ = link_to @commit.short_id, project_commit_path(@project, @commit) – = truncate(@commit.title, length: 50) - %th= link_to "history", project_commits_path(@project, @id), class: "pull-right" + = link_to "history", project_commits_path(@project, @id), class: "pull-right" - if @path.present? %tr.tree-item %td.tree-item-file-name = link_to "..", project_tree_path(@project, up_dir_path(tree)), class: 'prepend-left-10' %td - %td - %td + %td.hidden-xs = render_tree(tree) diff --git a/app/views/projects/tree/_tree_item.html.haml b/app/views/projects/tree/_tree_item.html.haml index 1b3900bcbae8b7e03c82c074b598b9906425c885..760e95e84f0686701fd80374bb27a8ef9d857c85 100644 --- a/app/views/projects/tree/_tree_item.html.haml +++ b/app/views/projects/tree/_tree_item.html.haml @@ -5,4 +5,4 @@ = link_to tree_item.name, project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name)) %td.tree_time_ago.cgray = render 'spinner' - %td.tree_commit{ colspan: 2 } + %td.hidden-xs.tree_commit{ colspan: 2 }