Sha256: eb95c05ef8eb1ae8cefdc8506355053543579922a45c32d41ed9c624640e9d74

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

- if unmanaged_files
  %div
    %a.scope_anchor{ id: "unmanaged_files" }
    .scope#unmanaged_files_container{ "data-scope" => "unmanaged_files" }
      - count = unmanaged_files.files.length
      = render_partial "scope_header",
        :scope => "unmanaged_files",
        :title => "Unmanaged Files",
        :count => "#{count} #{Machinery.pluralize(count, "file")}"
      .row.scope_content.collapse.in
        .col-xs-1
        .col-xs-11
          - if count == 0
            There are no unmanaged files.
          - if count > 0
            %table.table.table-striped.table-hover.table-condensed.files-table.filterable
              %thead
                %tr
                  %th Name
                  %th.medium Type
              %tbody
                - unmanaged_files.files.each do |file|
                  %tr
                    %td
                      - if file.on_disk?
                        %a.file-download{ href: "#" }
                          = file.name
                      - else
                        %span
                          = file.name
                    %td= file.type

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
machinery-tool-1.16.4 html/partials/unmanaged_files.html.haml
machinery-tool-1.16.3 html/partials/unmanaged_files.html.haml
machinery-tool-1.16.2 html/partials/unmanaged_files.html.haml