Sha256: b6ab585148676461ba83451fbcc9d8ac7e0c43153c11a65ced11e8dc80f4180a
Contents?: true
Size: 985 Bytes
Versions: 27
Compression:
Stored size: 985 Bytes
Contents
<%- # Get cited by and similar services cited_by = get_service_type('cited_by') similar = get_service_type('similar') # Render cited by services %><%= 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 # Render similar services (Related items) %><%= 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 there are no related or cited by services, tell the user. if (!service_types_in_progress?([ServiceTypeValue['cited_by'], ServiceTypeValue['similar']])) && similar.empty? && cited_by.empty? -%> <ul class="related_items response_list"> <li><em>No related items found.</em></li> </ul><% end %>
Version data entries
27 entries across 27 versions & 1 rubygems