Sha256: 83e7994df9b11605200eb9d6e61a6f0c1bc7c2e5f14b5b4d73100b593cffb815
Contents?: true
Size: 1.17 KB
Versions: 38
Compression:
Stored size: 1.17 KB
Contents
<ul class="breadcrumb main_breadcrumb"> <li> <%= ajax_link_to t('itl-gem.main_page'), "/" %> <% if !breadcrumb.blank? %> <span class="divider">/</span> <% end %> </li> <% if !breadcrumb.blank? && breadcrumb.kind_of?(Array) %> <% breadcrumb.each_with_index do |b, i| %> <% if is_tree_node?(b) %> <% if breadcrumb.count - 1 == i %> <li class="active"><%= b.name %></li> <% else %> <li> <%= link_to b.name, convert_settings_to_url(b.to_json), :onclick => "load_page(#{b.to_json}); return false;" %> <span class="divider">/</span> </li> <% end %> <% elsif b.kind_of?(Hash) %> <% if breadcrumb.count - 1 == i %> <li class="active"><%= b[:name] %></li> <% else %> <li> <%= link_to b[:name], convert_settings_to_url(b.to_json), :onclick => "load_page(#{b.to_json}); return false;" %> <span class="divider">/</span> </li> <% end %> <% end %> <% end %> <% end %> </ul>
Version data entries
38 entries across 38 versions & 1 rubygems