Sha256: 03e2567e987023ae20763ed2971fb3a5ab71b153298cde00b800c3ce9a95dd66

Contents?: true

Size: 1.97 KB

Versions: 6

Compression:

Stored size: 1.97 KB

Contents

- if @diff["packages"]
  - scope = "packages"
  %a.scope_anchor{ id: scope }
  .scope#packages_container
    .row
      .col-xs-1
        %a.btn.btn-default.btn-lg.scope_logo_big{ :href => "##{scope}",
          :title => scope_title(scope), "data-toggle"=>"popover",
          "data-content" => scope_help(scope) }
          %span= scope_initials(scope)
        %span.toggle{ title: "Collapse/Expand" }
      .col-xs-11
        %h2
          Packages
          = render_partial "compare/summary",
            scope: "packages",
            singular: "package",
            plural: "packages"
    .row.scope_content.collapse.in
      .col-md-12
        .row
          .col-md-6.table_container
            - if @diff["packages"].only_in1
              = only_in_a
              = render_partial "compare/package_list", list: @diff["packages"].only_in1
          .col-md-6.table_container
            - if @diff["packages"].only_in2
              = only_in_b
              = render_partial "compare/package_list", list: @diff["packages"].only_in2
        - if @diff["packages"].changed
          %a.both_anchor{ id: "packages_changed" }
          .row
            .col-md-12.table_container
              = changed
              = render_partial "compare/changes", changes: changed_elements("packages",
                key: "name",
                attributes: ["version", "vendor", "arch"],
                optional_attributes: ["version", "release", "checksum"])
        - if @diff["packages"].common
          %a.both_anchor{ id: "packages_both" }
          .row
            .col-md-12
              %a.show-common-elements{ href: "#packages_both" }
                Show common elements in packages
              %a.hide-common-elements{ href: "#", style: "display: none" }
                Hide common elements in packages
          .row.scope_common_content.collapse
            .col-md-12.table_container
              = in_both
              = render_partial "compare/package_list", list: @diff["packages"].common

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
machinery-tool-1.16.4 html/partials/compare/packages.html.haml
machinery-tool-1.16.3 html/partials/compare/packages.html.haml
machinery-tool-1.16.2 html/partials/compare/packages.html.haml
machinery-tool-1.16.1 html/partials/compare/packages.html.haml
machinery-tool-1.16.0 html/partials/compare/packages.html.haml
machinery-tool-1.15.0 html/partials/compare/packages.html.haml