Sha256: 5a187c855864462e714a820b544d90f71f37b6ef2a40e688baf72dcae81405b7

Contents?: true

Size: 1.66 KB

Versions: 3

Compression:

Stored size: 1.66 KB

Contents

- if changed_managed_files
  %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
          - if count == 0
            There are no changed managed files.
          - if count > 0
            %table.table.table-striped.table-hover.table-condensed.files-table.filterable
              %thead
                %tr
                  %th Name
                  %th Package Name
                  %th.medium Package Version
                  %th.medium Changes
                  %th.small Mode
                  %th.small User
                  %th.small 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

3 entries across 3 versions & 1 rubygems

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