Sha256: 91bcaff6684e3d47213c9ad3218526dfb45770a715e04ac7826e19887d568d9b

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

- if changed_managed_files && changed_managed_files.files.length > 0
  %div
    %a.scope_anchor{ id: "changed_managed_files" }
    .scope#changed_managed_files_container{ "data-scope" => "changed_managed_files" }
      - count = changed_managed_files.files.length
      = render_partial "scope_header",
        :scope => "changed_managed_files",
        :title => "Changed Managed Files",
        :count => "#{count} #{Machinery.pluralize(count, "file")}"
      .row.scope_content.collapse.in
        .col-xs-1
        .col-xs-11
          %table.table.table-striped.table-hover.table-condensed.files-table.filterable
            %thead
              %tr
                %th Name
                %th Package Name
                %th Package Version
                %th Changes
                %th Mode
                %th User
                %th Group
            %tbody
              - changed_managed_files.files.each do |file|
                %tr
                  %td
                    - if file.on_disk?
                      %a.file-download{ href: "#" }
                        = file.name
                    - else
                      %span
                        = file.name
                  %td= file.package_name
                  %td= file.package_version
                  %td
                    = file.changes.join(",")
                    - if file.error_message
                      %span{ title: file.error_message } (details)
                  %td= file.mode
                  %td= file.user
                  %td= file.group

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
machinery-tool-1.14.2 html/partials/changed_managed_files.html.haml
machinery-tool-1.14.1 html/partials/changed_managed_files.html.haml