Sha256: 93cf070ebbab2a034f9683c37e8a82a22795f65ee31b98481d655b98e8d711b7

Contents?: true

Size: 1.89 KB

Versions: 9

Compression:

Stored size: 1.89 KB

Contents

- if @diff["users"]
  - scope = "users"
  %a.scope_anchor{ id: scope }
  .scope#users_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
          Users
          = render_partial "compare/summary",
            scope: "users",
            singular: "user",
            plural: "users"
    .row.scope_content.collapse.in
      .col-md-12
        .row
          .col-md-6.table_container
            - if @diff["users"].only_in1
              = only_in_a
              = render_partial "compare/user_list", list: @diff["users"].only_in1
          .col-md-6.table_container{ class: offset_class(@diff["users"].only_in1) }
            - if @diff["users"].only_in2
              = only_in_b
              = render_partial "compare/user_list", list: @diff["users"].only_in2
        - if @diff["users"].changed
          %a.both_anchor{ id: "users_changed" }
          .row
            .col-md-12.table_container
              = changed
              = render_partial "compare/changes", changes: changed_elements("users",
                key: "name",
                attributes: ["uid", "gid", "comment", "shell", "home"])
        - if @diff["users"].common
          %a.both_anchor{ id: "users_both" }
          .row
            .col-md-12
              %a.show-common-elements{ href: "#users_both" }
                Show common elements in users
              %a.hide-common-elements{ href: "#", style: "display: none" }
                Hide common elements in users
          .row.scope_common_content.collapse
            .col-md-12.table_container
              = in_both
              = render_partial "compare/user_list", list: @diff["users"].common

Version data entries

9 entries across 9 versions & 1 rubygems

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