Sha256: 32099f61791ba83ebb861dff6f3d0f9f9b08b0aa4f64f121dee74b764a1e1912

Contents?: true

Size: 1.99 KB

Versions: 9

Compression:

Stored size: 1.99 KB

Contents

- if @diff["patterns"]
  - scope = "patterns"
  %a.scope_anchor{ id: scope }
  .scope#patterns_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
          Patterns
          = render_partial "compare/summary",
            scope: "patterns",
            singular: "pattern",
            plural: "patterns"
    .row.scope_content.collapse.in
      .col-md-12
        .row
          .col-md-6.table_container
            - if @diff["patterns"].only_in1
              = only_in_a
              = render_partial "compare/pattern_list", list: @diff["patterns"].only_in1
          .col-md-6.table_container{ class: offset_class(@diff["patterns"].only_in1) }
            - if @diff["patterns"].only_in2
              = only_in_b
              = render_partial "compare/pattern_list", list: @diff["patterns"].only_in2
        - if @diff["patterns"].changed
          %a.both_anchor{ id: "patterns_changed" }
          .row
            .col-md-12.table_container
              = changed
              = render_partial "compare/changes", changes: changed_elements("patterns",
                key: "name",
                attributes: ["version"],
                optional_attributes: ["version", "release"])
        - if @diff["patterns"].common
          %a.both_anchor{ id: "patterns_both" }
          .row
            .col-md-12
              %a.show-common-elements{ href: "#patterns_both" }
                Show common elements in patterns
              %a.hide-common-elements{ href: "#", style: "display: none" }
                Hide common elements in patterns
          .row.scope_common_content.collapse
            .col-md-12.table_container
              = in_both
              = render_partial "compare/pattern_list", list: @diff["patterns"].common

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 html/partials/compare/patterns.html.haml
machinery-tool-1.24.0 html/partials/compare/patterns.html.haml
machinery-tool-1.23.1 html/partials/compare/patterns.html.haml
machinery-tool-1.23.0 html/partials/compare/patterns.html.haml
machinery-tool-1.22.3 html/partials/compare/patterns.html.haml
machinery-tool-1.22.2 html/partials/compare/patterns.html.haml
machinery-tool-1.22.1 html/partials/compare/patterns.html.haml
machinery-tool-1.22.0 html/partials/compare/patterns.html.haml
machinery-tool-1.21.0 html/partials/compare/patterns.html.haml