Make history link for trees look like action links for blobs
This commit is contained in:
parent
536eb8e828
commit
866b9f6d91
5 changed files with 11 additions and 7 deletions
|
@ -7,5 +7,5 @@
|
|||
%strong= truncate(name, length: 40)
|
||||
%td
|
||||
%code= submodule_item.id[0..10]
|
||||
%td
|
||||
%td{ colspan: 2 }
|
||||
= link_to truncate(url, length: 40), url
|
||||
|
|
|
@ -18,9 +18,8 @@
|
|||
%thead
|
||||
%th Name
|
||||
%th Last Update
|
||||
%th
|
||||
Last commit
|
||||
= link_to "History", tree.history_path, class: "right"
|
||||
%th Last Commit
|
||||
%th= link_to "history", project_commits_path(@project, @id), class: "btn very_small right"
|
||||
|
||||
- if tree.up_dir?
|
||||
%tr.tree-item
|
||||
|
@ -29,6 +28,7 @@
|
|||
= link_to "..", tree.up_dir_path
|
||||
%td
|
||||
%td
|
||||
%td
|
||||
|
||||
= render_tree(tree.contents)
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
%span.log_loading.hide
|
||||
Loading commit data...
|
||||
= image_tag "ajax_loader_tree.gif", width: 14
|
||||
%td.tree_commit
|
||||
%td.tree_commit{ colspan: 2 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue