Sha256: b4596e8d732584c4ec0cf8d8869d09cc918b70a45e0a62ecd13af53063ee7b49
Contents?: true
Size: 1.67 KB
Versions: 9
Compression:
Stored size: 1.67 KB
Contents
<% all_responses = fulltext (title_level_fulltxt, fulltxt) = all_responses.partition do |i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false end # order em with full fulltxt before title_level_fulltxt all_responses = fulltxt + title_level_fulltxt %> <div class="<%= section_css_classes(@user_request, "fulltext", all_responses).join(" ") %>"> <%= render 'section_heading', :presenter => renderer, :force_render => true %> <div class="umlaut_section_content"> <%= list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index | %> <%- # Display special warning header if it's title-level only, # and it's an article or issue level link. Are we # at the beginning of title level display? -%> <% if (index == fulltxt.length && !title_level_request?) %> </ul> <div class="section-subheading title-level-link-warning"> <h4><%= (@user_request.referent.container_type_of_thing || "Container").titlecase %>-level Page Only</h4> <p><span class="notice">Can not link directly to citation. Dates or extent of coverage may be unknown.</span></p> </div> <ul class="response_list"> <% end %> <%= render :partial => "standard_response_item", :object => item %> <% end %> <% if (fulltxt.empty? && title_level_fulltxt.empty? && !service_type_in_progress?('fulltext')) %> <p class="umlaut-unavailable umlaut-content-indent"><%= t('umlaut.resolve.not_available') %></p> <% end %> <%= render renderer.spinner_render_hash if renderer.services_in_progress? %> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems