Sha256: 5efa63e6f6c08a5c1c8033d1b10f718156efa17f9658c6e0c959d33d1ab24ebf
Contents?: true
Size: 1.07 KB
Versions: 32
Compression:
Stored size: 1.07 KB
Contents
<% cited_by = get_service_type('cited_by') similar = get_service_type('similar') %> <%= list_with_limit('umlaut_cited_by', cited_by, :ul_class => "related_items response_list") do |item, index | %> <%= render(:partial => "standard_response_item", :object=> item, :locals => { :show_source => true, :li_class => "related_item"}) %> <% end %> <% if (cited_by.length > 0) && (similar.length > 0) %> <!-- a little seperation for readability --> <br class="seperator"/> <% end %> <%= list_with_limit('umlaut_similar_items', similar, :ul_class =>"related_items response_list") do |item, index | %> <%= render(:partial => "standard_response_item", :object=> item, :locals => { :show_source => true}) %> <% end %> <% if (!service_types_in_progress?([ServiceTypeValue['cited_by'], ServiceTypeValue['similar']])) && similar.empty? && cited_by.empty? %> <ul class="related_items response_list"> <li><i>No related items found.</i></li> </ul> <% end %>
Version data entries
32 entries across 32 versions & 1 rubygems