Sha256: 79b07d80b6ecb4444129e1207d6a89dfb7c0ddcaf3e215896e79d00b5a84ffc6

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

- document ||= listing

%li.document{:id => "list_document_#{document.id}"}
  = link_to truncate(document.name, :length => 24), droom.folder_document_url(document.folder, document), :class => "document #{document.file_extension.downcase}", :title => t(:click_to_download, :name => document.file_file_name)
  - if editable?(document)
    %span.action
      = link_to t(:remove), droom.folder_document_url(document.folder, document), :method => :delete, :class => 'delete minimal', :data => {:action => "remove", :removed => "#list_document_#{document.id}", :confirm => t(:confirm_remove_document, :name => document.name)}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/documents/_listing.html.haml
droom-0.4.2 app/views/droom/documents/_listing.html.haml
droom-0.4.1 app/views/droom/documents/_listing.html.haml
droom-0.2.1 app/views/droom/documents/_listing.html.haml