gitlab-org--gitlab-foss/app/views/projects/tree/_submodule_item.html.haml

16 lines
367 B
Plaintext
Raw Normal View History

- tree, commit = submodule_links(submodule_item)
2013-10-12 07:01:27 +00:00
%tr{ class: "tree-item" }
2012-02-14 21:48:42 +00:00
%td.tree-item-file-name
%i.icon-archive
2013-10-12 07:01:27 +00:00
%span
= link_to truncate(submodule_item.name, length: 40), tree
2013-10-12 07:01:27 +00:00
@
%span.monospace
- if commit.nil?
#{submodule_item.id[0..10]}
- else
= link_to "#{submodule_item.id[0..10]}", commit
2013-10-12 07:01:27 +00:00
%td
%td
2012-02-14 21:48:42 +00:00
%td