Sha256: 440fe22f6df2e85b910aa66ef3420b9b9d1c5b8cf243fdc6eaa634686b8c86e8
Contents?: true
Size: 1.24 KB
Versions: 20
Compression:
Stored size: 1.24 KB
Contents
<% if v.is_a?(Hash) %> <% v.each do |k2, v2| %> <tr> <td> <%= "#{k}.#{k2}" %> </td> <td> <% if %w[sasl ssl].any? { |scope| k2.to_s.include?(scope) } %> *** <% elsif k2.to_s == 'tags' %> <%== tags(v2) %> <% elsif k2.to_s == 'first_offset' %> <a href="<%= explorer_path(v[:topic], v[:partition], v[:first_offset]) %>"> <%= v2 %> </a> <% elsif k2.to_s == 'last_offset' %> <a href="<%= explorer_path(v[:topic], v[:partition], v[:last_offset]) %>"> <%= v2 %> </a> <% elsif k2.to_s == 'committed_offset' && v2 >=0 %> <a href="<%= explorer_path(v[:topic], v[:partition], v[:committed_offset]) %>"> <%= v2 %> </a> <% else %> <%= v2 %> <% end %> </td> </tr> <% end %> <% else %> <tr> <td> <%= k %> </td> <td> <% case k when :occurred_at %> <%== relative_time v %> <% when :error_class %> <code><%= v %></code> <% when :type %> <span class="badge bg-secondary"> <%= v %> </span> <% else %> <%= v %> <% end %> </td> </tr> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems