Sha256: ae1acf529bdc857bef3d2ac56cdfb90ffb51420a4b34317e3e4fd98fcfd7814a

Contents?: true

Size: 633 Bytes

Versions: 16

Compression:

Stored size: 633 Bytes

Contents

<tr class="file_asset" id ="assets_<%= format_pid(result["id"]) %>" >  
  <td>
    <%= link_to result[solr_name("title", :text)], file_asset_path(result["id"]) %>
  </td>
  <td>
	
   <% if editor? %>
    	<% if @container.nil? %>
    		<% file_asset_url = file_asset_path(result["id"]) %>
    	<% else %>
    		<% file_asset_url = asset_file_asset_path(@container.pid, result["id"]) %>
    	<% end %>
    	<%= button_to("Delete", "/file_assets/" + result["id"] + "?container_id=" + @document[:id], :confirm => "Are you sure you want to delete this file?", :method => :delete, :class => "delete-button") %>
   <% end %>
  </td>
</tr>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
hydra-head-3.1.4 app/views/file_assets/_result.html.erb
hydra-head-3.1.3 app/views/file_assets/_result.html.erb
hydra-head-3.1.2 app/views/file_assets/_result.html.erb
hydra-head-3.1.1 app/views/file_assets/_result.html.erb
hydra-head-3.1.0 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.rc2 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.rc1 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.pre5 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.pre4 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.pre3 app/views/file_assets/_result.html.erb
hydra-head-3.0.1 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.pre2 app/views/file_assets/_result.html.erb
hydra-head-3.0.0 app/views/file_assets/_result.html.erb
hydra-head-3.1.0.pre1 app/views/file_assets/_result.html.erb
hydra-head-3.0.0.rc2 app/views/file_assets/_result.html.erb
hydra-head-3.0.0.rc1 app/views/file_assets/_result.html.erb