2014-02-03 21:35:48 -05:00
|
|
|
- tree, commit = submodule_links(submodule_item)
|
2013-10-12 03:01:27 -04:00
|
|
|
%tr{ class: "tree-item" }
|
2012-02-14 16:48:42 -05:00
|
|
|
%td.tree-item-file-name
|
|
|
|
= image_tag "submodule.png"
|
2013-10-12 03:01:27 -04:00
|
|
|
%span
|
2014-02-03 21:35:48 -05:00
|
|
|
= link_to truncate(submodule_item.name, length: 40), tree
|
2013-10-12 03:01:27 -04:00
|
|
|
@
|
2014-02-03 21:35:48 -05:00
|
|
|
%span.monospace
|
|
|
|
- if commit.nil?
|
|
|
|
#{submodule_item.id[0..10]}
|
|
|
|
- else
|
|
|
|
= link_to "#{submodule_item.id[0..10]}", commit
|
2013-10-12 03:01:27 -04:00
|
|
|
%td
|
|
|
|
%td
|
2012-02-14 16:48:42 -05:00
|
|
|
%td
|