Commit 96ba1708 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2673 from AlexDenisov/submodule_rendering_bug

Render submodule bugfix
parents 820e8466 e78e0672
- url = submodule_item.url(@ref) rescue '' - url = submodule_item.url(@ref) rescue ''
- name = submodule_item.basename - name = submodule_item.basename
- return unless url - return '' unless url
%tr{ class: "tree-item", url: url } %tr{ class: "tree-item", url: url }
%td.tree-item-file-name %td.tree-item-file-name
= image_tag "submodule.png" = image_tag "submodule.png"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment