submodules displayed for tree view
This commit is contained in:
parent
c062e56b4c
commit
a7bcc2eb5c
8 changed files with 38 additions and 9 deletions
|
@ -39,6 +39,8 @@
|
|||
= render :partial => "refs/tree_item", :locals => { :content => content }
|
||||
- contents.select{ |i| i.is_a?(Grit::Blob)}.each do |content|
|
||||
= render :partial => "refs/tree_item", :locals => { :content => content }
|
||||
- contents.select{ |i| i.is_a?(Grit::Submodule)}.each do |content|
|
||||
= render :partial => "refs/submodule_item", :locals => { :content => content }
|
||||
|
||||
- if content = contents.select{ |c| c.is_a?(Grit::Blob) and c.name =~ /^readme/i }.first
|
||||
#tree-readme-holder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue