Sha256: 89c742b41e2b6d55913f3aa1f5ae32934a3199a72ade9c39e687b89d5445fe00
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
<div class="lines-breadcrumb"> <%= link_to t(".global"), root_path %> <% if feature_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 feature_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 feature_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 feature_settings.display_progress_enabled? %> <span class="percentage"><%= display_percentage result.parent.progress %></span> <% end %> </div> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems