Sha256: 2253274e5e2427e2a80485280d82e71818e688ad7a1aa4059394ebcf81427ed2

Contents?: true

Size: 752 Bytes

Versions: 2

Compression:

Stored size: 752 Bytes

Contents

<ul>
    <% @paths.each do |path| %>
        <li>
            <%= path %> 
            <% if path.modified_at.present? %>
              was modified
              <%= time_ago_in_words(path.modified_at) %>
            <% end %>
            <% if path =~ /\.zip\Z/ %>
                <%= button_to('Unzip', unzips_path(unzip: {zip_file_path: path.global_path})) %>
            <% end %>

            <% if path.file? %>
              <% if File.extname(path.file_system_path) == '.pdf' %>
                <%= link_to 'View', ezii_os_file_path(path.global_path) %>
              <% end %>
            <% else %>
              <%= link_to 'Change directory (cd)', directory_path(path.global_path) %>
            <% end %>
        </li>
    <% end %>
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ezii-os-0.0.0.1.0 app/views/directories/show.html.erb
ezii-os-0.0.0.0.1 app/views/directories/show.html.erb