Sha256: 9800eba0c68e0689e84e9d93a73896c2854e167ec4dcceaa1c0e368dd07dc319
Contents?: true
Size: 1.15 KB
Versions: 62
Compression:
Stored size: 1.15 KB
Contents
<ul class="breadcrumb"> <li> <%= ajax_link_to "Úvodní stránka", "/" %> <% 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
62 entries across 62 versions & 1 rubygems