lib/karafka/web/ui/views/jobs/_breadcrumbs.erb in karafka-web-0.7.10 vs lib/karafka/web/ui/views/jobs/_breadcrumbs.erb in karafka-web-0.8.0.rc1
- old
+ new
@@ -1,5 +1,21 @@
<li class="breadcrumb-item">
<a href="<%= root_path('jobs') %>">
- Running jobs
+ Jobs
</a>
</li>
+
+<% if current_path.include?('/running') %>
+ <li class="breadcrumb-item">
+ <a href="<%= root_path('jobs/running') %>">
+ Running
+ </a>
+ </li>
+<% end %>
+
+<% if current_path.include?('/pending') %>
+ <li class="breadcrumb-item">
+ <a href="<%= root_path('jobs/pending') %>">
+ Pending
+ </a>
+ </li>
+<% end %>