Sha256: 37de2d21141b2c081949182fb10e5a283d857d0b2ed941e2d9673f41e4859d5c

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 KB

Contents

- if @diff["config_files"]
  - scope = "config_files"
  %a.scope_anchor{ id: scope }
  .scope#config_files_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
          Config Files
          = render_partial "compare/summary",
            scope: "config_files",
            singular: "file",
            plural: "files"
    .row.scope_content.collapse.in
      .col-md-12
        .row
          .col-xs-6.table_container
            - if @diff["config_files"].only_in1
              = only_in_a
              = render_partial "compare/config_file_list", list: @diff["config_files"].only_in1
          .col-xs-6.table_container
            - if @diff["config_files"].only_in2
              = only_in_b
              = render_partial "compare/config_file_list", list: @diff["config_files"].only_in2
        - if @diff["config_files"].changed
          %a.both_anchor{ id: "config_files_changed" }
          .row
            .col-xs-12.table_container
              = changed
              = render_partial "compare/changes", changes: changed_elements("config_files",
                key: "name")
        - if @diff["config_files"].common
          %a.both_anchor{ id: "config_files_both" }
          .row
            .col-xs-12
              %a.show-common-elements{ href: "#config_files_both" }
                Show common elements in config-files
              %a.hide-common-elements{ href: "#", style: "display: none" }
                Hide common elements in config-files
          .row.scope_common_content.collapse
            .col-xs-12.table_container
              = in_both
              = render_partial "compare/config_file_list", list: @diff["config_files"].common

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
machinery-tool-1.18.0 html/partials/compare/config_files.html.haml
machinery-tool-1.17.0 html/partials/compare/config_files.html.haml