Sha256: e4662eb12eeffdc0b50ef5c1b9728162a8d93b3d5ec329477d526cde709ee1ec
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 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"> <span class="back_to_cat"><%= link_back_to_catalog :label=>'← Return to search results' %></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 -%> <span class="result-num"> <%= session[:search][:counter].to_i %> of <%= format_num(session[:search][:total]) %> </span> <%- end -%> <%- if @previous_document || @next_document -%> <span class="next"><%= link_to_next_document(@next_document)%></span> </div> <%- end -%> <%- if editor? && controller.action_name != "delete" -%> <span class="edit-browse"> <%= edit_and_browse_links %> </span> <%- end -%> </div> </div> <div id="document" class="<%= controller.action_name == "edit" ? "document_edit" : "document_show" %> <%= "combined_document_view" if session[:scripts] %>"> <div id="<%= format_pid(@document[:id]) %>"> <%= "<h1>Add Your Work</h1>".html_safe if controller.action_name == "edit" %> <div class="document"> <%= render_document_partial @document, params["action"] %> </div> </div> </div> <% if controller.action_name == "edit" %> <div class="delete-asset"> <%= button_to("Delete This Item", {:action => :destroy, :controller => :assets, :id => @document_fedora.pid}, :confirm => 'Are you sure?', :method => :delete )%> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydra-head-3.0.0pre4 | app/views/catalog/show.html.erb |