Sha256: b41ec785151fe345645f266b6b535cea045ed890472638d225628f1567ff9c09
Contents?: true
Size: 1.55 KB
Versions: 63
Compression:
Stored size: 1.55 KB
Contents
<div class="lines-breadcrumb"> <%= link_to t(".global"), root_path %> <% if component_settings.display_progress_enabled? %> <span class="percentage"><%= display_percentage progress_calculator(current_scope, nil) %></span> <% end %> <% if category.present? && category.parent.present? %> <span class="breadcrumb--separator">></span> <div> <%= link_to translated_attribute(category.parent.name), results_path(filter: { category_id: category.parent_id, scope_id: current_scope }) %> <% if component_settings.display_progress_enabled? %> <span class="percentage"><%= display_percentage progress_calculator(current_scope, category.parent_id) %></span> <% end %> </div> <% end %> <% if category.present? %> <span class="breadcrumb--separator">></span> <div> <%= link_to translated_attribute(category.name), results_path(filter: { category_id: category.id, scope_id: current_scope }) %> <% if component_settings.display_progress_enabled? %> <span class="percentage"><%= display_percentage progress_calculator(current_scope, category.id) %></span> <% end %> </div> <% end %> <% if result && result.parent.present? %> <span class="breadcrumb--separator">></span> <div> <%= link_to translated_attribute(result.parent.title), result_path(result.parent, filter: { scope_id: current_scope }) %> <% if component_settings.display_progress_enabled? %> <span class="percentage"><%= display_percentage result.parent.progress %></span> <% end %> </div> <% end %> </div>
Version data entries
63 entries across 63 versions & 1 rubygems