Sha256: e99d6193e6640e43e44ba625f98712fb147528dc60782d587eb2e9ee3bbe665b

Contents?: true

Size: 568 Bytes

Versions: 25

Compression:

Stored size: 568 Bytes

Contents

%tr.attachment{data: {attachment_id: attachment.id}}
  %td.filename= link_to attachment.filename, attachment_path(attachment)
  %td.size= number_to_human_size(attachment.size)
  %td.versions= attachment.version_count
  %td.actions
    %a.upload{href: "#", title: "Upload", id: "upload_attachment_#{attachment.id}"} 
      %i.fa.fa-upload
    %a.delete{href: "#", title: "Delete"}
      %i.fa.fa-times
    :javascript
      $(function() {
        var view = new Tawork.Views.AttachmentView({el: $(".attachment[data-attachment-id=#{attachment.id}]").get(0)});
      });

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.49 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.48 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.47 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.46 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.45 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.44 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.43 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.42 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.41 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.40 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.39 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.38 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.37 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.36 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.35 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.34 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.33 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.31 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.30 app/views/wiki/pages/_attachment.html.haml