Sha256: 9daaa6978f3ed9b8d3430a6460da13e63f4a756e1dd2d6b6ffd869214cd48b70
Contents?: true
Size: 803 Bytes
Versions: 7
Compression:
Stored size: 803 Bytes
Contents
<% @service_presenter.endpoints_by_prefix.each do |prefix, endpoints| %> <li class="endpoint-group <%= (@endpoint_presenter.nil? && 'opened') || (endpoints.map(&:url).include?(@endpoint_presenter.url) && 'active') %>"> <a href="#"><%= prefix %></a> <ul class="nav"> <% endpoints.each do |endpoint| %> <li class="<%= (@endpoint_presenter.nil? && 'opened') || (endpoint.url == @endpoint_presenter.url && 'active') %>"> <a href="<%= endpoint.url %>"> <span class="btn btn-<%= endpoint.verb_colorname %> btn-xs"><%= endpoint.verb %> <%= endpoint.named_path %></span> <br> <span><%= endpoint.title %></span> </a> </li> <% end %> </ul> </li> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems