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