_submodule_item.html.haml 372 Bytes
Newer Older
1
- tree, commit = submodule_links(submodule_item)
2
%tr{ class: "tree-item" }
3
  %td.tree-item-file-name
4
    %i.fa.fa-archive
5
    %span
6
      = link_to truncate(submodule_item.name, length: 40), tree
7
    @
8 9 10 11 12
    %span.monospace
      - if commit.nil?
        #{submodule_item.id[0..10]}
      - else
        = link_to "#{submodule_item.id[0..10]}", commit
13
  %td
14
  %td.hidden-xs