Sha256: 3be729de3e40b610a77eebe9e592a9ea0a83c9db82689af6c895e12a208014cc

Contents?: true

Size: 1.79 KB

Versions: 9

Compression:

Stored size: 1.79 KB

Contents

- if @diff["groups"]
  - scope = "groups"
  %a.scope_anchor{ id: scope }
  .scope#groups_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
          Groups
          = render_partial "compare/summary", scope: "groups", singular: "group", plural: "groups"
    .row.scope_content.collapse.in
      .col-md-12
        .row
          .col-md-6.table_container
            - if @diff["groups"].only_in1
              = only_in_a
              = render_partial "compare/group_list", list: @diff["groups"].only_in1
          .col-md-6.table_container{ class: offset_class(@diff["groups"].only_in1) }
            - if @diff["groups"].only_in2
              = only_in_b
              = render_partial "compare/group_list", list: @diff["groups"].only_in2
        - if @diff["groups"].changed
          %a.both_anchor{ id: "groups_changed" }
          .row
            .col-md-12.table_container
              = changed
              = render_partial "compare/changes", changes: changed_elements("groups", key: "name")
        - if @diff["groups"].common
          %a.both_anchor{ id: "groups_both" }
          .row
            .col-md-12
              %a.show-common-elements{ href: "#groups_both" }
                Show common elements in groups
              %a.hide-common-elements{ href: "#", style: "display: none" }
                Hide common elements in groups
          .row.scope_common_content.collapse
            .col-md-12.table_container
              = in_both
              = render_partial "compare/group_list", list: @diff["groups"].common

Version data entries

9 entries across 9 versions & 1 rubygems

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