Sha256: 01ed3f82dfe0d3cc04ba1f7fc0d92ec75d60a5092c04ae6bb7f518cde5b1925d

Contents?: true

Size: 1.01 KB

Versions: 24

Compression:

Stored size: 1.01 KB

Contents

<div id="marc_view">
  <% fields = @document.to_marc.find_all{|f| ('000'..'999') === f.tag }  %>
  <div class="field"><%= t('blacklight.search.librarian_view.leader', :leader => @document.to_marc.leader) %></div>
  <%- fields.each do |field| -%>
	<%- unless field.tag.to_s == "940" -%>
	  <div class="field">
	  	<div class="tag_ind">
	      <span class="tag">
	        <%= h(field.tag) %>
	  	  </span>
		  <%- if field.is_a?(MARC::ControlField) -%>
		    <span class="control_field_values">
		      <%= h(field.value) %>
		    </span>
		  <%- else -%>
		    <div class="ind1">
		      <%= !field.indicator1.blank? ? field.indicator1 : "&nbsp;&nbsp;".html_safe -%>
		    </div>
		    <div class="ind2">
		      <%= !field.indicator2.blank? ? field.indicator2 : "&nbsp;&nbsp;".html_safe -%>
		    </div>
		  </div>
		  <div class="subfields">
		    <%- field.each do |sub| -%>
			  <span class="sub_code"><%= h(sub.code) %>|</span> <%= h(sub.value) %>
			<%- end -%>
		  <%- end -%>
	    </div>
	  </div>
	<%- end-%>
  <%- end -%>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
blacklight-4.9.0 app/views/catalog/_marc_view.html.erb
blacklight-4.8.0 app/views/catalog/_marc_view.html.erb
blacklight-4.7.0 app/views/catalog/_marc_view.html.erb
blacklight-4.7.0.pre1 app/views/catalog/_marc_view.html.erb
blacklight-4.6.3 app/views/catalog/_marc_view.html.erb
blacklight-4.6.2 app/views/catalog/_marc_view.html.erb
blacklight-4.6.1 app/views/catalog/_marc_view.html.erb
blacklight-4.6.0 app/views/catalog/_marc_view.html.erb
blacklight-4.5.0 app/views/catalog/_marc_view.html.erb
blacklight-4.5.0.rc1 app/views/catalog/_marc_view.html.erb
blacklight-4.4.2 app/views/catalog/_marc_view.html.erb
blacklight-4.4.1 app/views/catalog/_marc_view.html.erb
blacklight-4.4.0 app/views/catalog/_marc_view.html.erb
blacklight-4.3.0 app/views/catalog/_marc_view.html.erb
blacklight-4.2.2 app/views/catalog/_marc_view.html.erb
blacklight-4.2.1 app/views/catalog/_marc_view.html.erb
blacklight-4.2.0 app/views/catalog/_marc_view.html.erb
blacklight-4.1.0 app/views/catalog/_marc_view.html.erb
blacklight-4.0.1 app/views/catalog/_marc_view.html.erb
blacklight-4.0.0 app/views/catalog/_marc_view.html.erb