<% if @display_module_name %>
<%
module_info = @module_info_dict[entry[:module]]
module_title = (module_info ? module_info[:title] : nil)
%>
<% if module_title %>
<%= link_to(module_title, "javascript:void(0)", class: "module-key", data: {'key'=>entry[:module]}) %>
<% end %>
|
<% end %>
<%= link_to "javascript:void(0)", class: entry[:type].to_s, data: {'entry'=>entry[:entry], 'id'=> entry[:upload_id]} do %>
<%= fa_icon (entry[:type] == :file ? 'file' : 'folder') %>
<%= entry[:name] %>
<% end %>
|
<%= entry[:size] %>
|
<%= entry[:deleted_at] %>
|
<%= entry[:date] %>
|
<% unless @only_select_folder %>
<% if entry[:entry] != './' && entry[:entry] != '../' %>
<%= link_to 'javascript:void(0)', class: 'recover', data: { "tmp-confirm"=> t("file_manager.are_you_sure_to_recover"), "link"=> recover_admin_file_manager_path(entry[:id]) } do %>
<%= fa_icon 'trash-restore' %> <%= t("file_manager.recover") %>
<% end %>
<% end %>
|
<% if entry[:entry] != './' && entry[:entry] != '../' %>
<%= link_to "javascript:void(0)", class: 'delete', data: { "tmp-confirm"=> t("file_manager.are_you_sure_you_want_to_delete_file_permanently",:file=>entry[:org_path]), "link"=> admin_file_manager_path(entry[:id], permanent: true) } do %>
<%= fa_icon 'trash' %> <%= t("file_manager.delete_permanently") %>
<% end %>
<% end %>
|
<% end %>
<% end %>