Sha256: abed3e1b1c1563902a6de3a6e0328c82374c8c9cb9f4482c67a94bbe11cf0e85

Contents?: true

Size: 1.84 KB

Versions: 19

Compression:

Stored size: 1.84 KB

Contents

<%
  
  #debugger
   all_responses = fulltext
   
   (title_level_fulltxt, fulltxt) = 
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}      
   # order em with full fulltxt before title_level_fulltxt
   all_responses = fulltxt + title_level_fulltxt   
%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  
<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 warnign 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? )
           genre = @user_request.referent.metadata['genre']
           genre = "Journal" if genre && genre.downcase == 'article' %>
           </ul>
           <div class="section_subheading">
             <h4><%= genre ? genre.titlecase : "Title" %>-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'))
  %>
  <ul class="response_list fulltext">
    <li><p class="notAvailable">Not Available </p></li>
  </ul>
  <% end %>
  
  <%= render( renderer.spinner_render_hash) if renderer.services_in_progress? %>
</div>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
umlaut-3.0.0beta4 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0beta3 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0beta2 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0beta1 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha15 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha14 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha13 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha12 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha11 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha10 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha9 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha8 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha7 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha6 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha5 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha4 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha3 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha2 app/views/resolve/_fulltext.html.erb
umlaut-3.0.0alpha1 app/views/resolve/_fulltext.html.erb