Sha256: cfba6044d32eaa576d18dd26897b759d8ef2306a18bbd134edea5c404559ad0f
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
<% title "#{@repo.name} at #{@tree.oid[0..6]}" %> <div id="pjax-container"> <%= partial :header, locals: { repo: @repo } %> <%= partial :tree_nav %> <div class="hide" id="loader"><img src="<%= prefix_url("img/spin.gif") %>" alt="loading"></div> <ul class="nav nav-tabs nav-stacked" id="js-tree"> <% @tree.each do |tree| %> <% next unless tree[:type] == :commit && tree[:filemode] == 57344 %> <li class="tree"> <a title="submodule <%= tree[:name] %> @ <%= tree[:oid] %>"> <span class="icon-hdd"></span> <%= tree[:name] %> </a> </li> <% end %> <% @tree.each_tree do |tree| %> <% tree_path = "#{tree[:name]}"%> <li class="tree"> <a href="<%= prefix_url(@path[:tree]) %>/<%= tree_path %>"> <span class="icon-folder-close"></span> <%= tree[:name] %> </a> </li> <% end %> <% @tree.each_blob do |blob| %> <li class="blob"> <a href="<%= prefix_url(@path[:blob]) %>/<%= blob[:name] %>"> <%= file_icon blob[:filemode] %> <%= blob[:name] %> </a> </li> <% end %> </ul> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ginatra-4.0.2 | views/tree.erb |
ginatra-4.0.1 | views/tree.erb |
ginatra-4.0.0 | views/tree.erb |