Sha256: d38387a61b3ea651f71467494cd73e32b4f6d7a871ae4a43f9b2d44d6f6cc5ad

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 KB

Contents

<%-
  doc_title = (document_show_html_title.nil? || document_show_html_title.empty?) ? @document[:id] : document_show_html_title.first
  @page_title = "#{doc_title} - #{application_name}" 
-%>
<div id="showHead">
  <div id="showUtils">
    <div class="tools"><%= render :partial => 'show_tools' %></div>
    <span class="back_to_cat"><%= link_back_to_catalog( :label=>'&larr; Return to search results'.html_safe) %></span>
    <% if @previous_document || @next_document %>
      <div id="previousNextDocument">
	    <span class="previous"><%= link_to_previous_document(@previous_document) %></span>
    <% end %>
    <%- if session[:search][:counter].to_i > 0 -%>
      <%= session[:search][:counter].to_i %> of <%= format_num(session[:search][:total]) %>
    <%- end -%>
    <% if @previous_document || @next_document %>
	    <span class="next"><%= link_to_next_document(@next_document)%></span>	
      </div>
    <% end %>
  </div>
</div>
<% if editor? && controller.action_name != "delete" %>
	<span class="edit-browse">
		<%= edit_and_browse_links.html_safe %>
	</span>
<% end -%>
<div id="document" class="<%= controller.action_name == "edit" ? "document_edit" : "document_show" %>">
  <div id="<%= format_pid(@document[:id]) %>">
    <%= render_document_heading.html_safe %>
    <div class="document">
      <%= render_document_partial @document, params["action"] %>
    </div>
  </div>
</div>


<%#= render :partial=>'solr_request' %>


<div class="lightboxContent" id="citation" style="display:none;">
  <%= render :partial => 'citation' %>
</div>
<div class="lightboxContent" id="email" style="display:none;">
  <%= render :partial => 'email_form' %>
</div>
<div class="lightboxContent" id="sms" style="display:none;">
  <%= render :partial => 'sms_form' %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre3 app/views/catalog/show.html.erb
hydra-head-3.0.0pre2 app/views/catalog/show.html.erb