Sha256: c6235e96a06286b23cb9a5d7447accb53484a7582c7ec6ab72174e2d50edb54d
Contents?: true
Size: 1.66 KB
Versions: 17
Compression:
Stored size: 1.66 KB
Contents
<%- doc_title = document_show_html_title.blank? ? @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
17 entries across 17 versions & 1 rubygems